summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-05 07:05:16 +0000
committerRoland McGrath <roland@gnu.org>1995-01-05 07:05:16 +0000
commitf5381ca027923c7c652ffd056c23322696ba9e74 (patch)
tree0fd0e9c30a77453d8906d3cb757392fd79e13500 /src/eval.c
parent12b5649bf65a15fdbfca186430a389ba95a5778d (diff)
downloademacs-f5381ca027923c7c652ffd056c23322696ba9e74.tar.gz
(Fcommandp): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of compiled
byte-code object.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index c65744b9646..8626f790af7 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1,11 +1,11 @@
/* Evaluator for GNU Emacs Lisp interpreter.
- Copyright (C) 1985, 1986, 1987, 1993, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
@@ -1392,7 +1392,7 @@ Also, a symbol satisfies `commandp' if its function definition does so.")
have an element whose index is COMPILED_INTERACTIVE, which is
where the interactive spec is stored. */
else if (COMPILEDP (fun))
- return (XVECTOR (fun)->size > COMPILED_INTERACTIVE
+ return (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK > COMPILED_INTERACTIVE
? Qt : Qnil);
/* Strings and vectors are keyboard macros. */