summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-12-11 15:35:51 +0000
committerRichard M. Stallman <rms@gnu.org>2005-12-11 15:35:51 +0000
commit2231a9e22d476a05c5595febcd0fe0e6f2e9b8ff (patch)
tree641a68ca72924ac5e20b2bc868dc2df6bdc855bf /src/lisp.h
parent49daa5b1626a2d1fb3327ba27349127dd04156b3 (diff)
downloademacs-2231a9e22d476a05c5595febcd0fe0e6f2e9b8ff.tar.gz
(EQ): Use == so args are computed just once.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index ad5088da65f..b8213c516cb 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -454,7 +454,7 @@ enum pvec_type
extern Lisp_Object make_number P_ ((EMACS_INT));
#endif
-#define EQ(x, y) ((x).s.val == (y).s.val && (x).s.type == (y).s.type)
+#define EQ(x, y) ((x).i == (y).i)
#endif /* NO_UNION_TYPE */