aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorRoland McGrath1995-01-05 07:05:16 +0000
committerRoland McGrath1995-01-05 07:05:16 +0000
commit96277b2df93d9e3bcbc396498249a3fafb5e1e52 (patch)
treebe2182cbea4aa7db281c1231334fec8bec8931f0 /src/eval.c
parent45c3304d43324cfcddea085820ed8a1b78784496 (diff)
downloademacs-96277b2df93d9e3bcbc396498249a3fafb5e1e52.tar.gz
emacs-96277b2df93d9e3bcbc396498249a3fafb5e1e52.zip
(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 @@
1/* Evaluator for GNU Emacs Lisp interpreter. 1/* Evaluator for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option) 8the Free Software Foundation; either version 2, or (at your option)
9any later version. 9any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU 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.")
1392 have an element whose index is COMPILED_INTERACTIVE, which is 1392 have an element whose index is COMPILED_INTERACTIVE, which is
1393 where the interactive spec is stored. */ 1393 where the interactive spec is stored. */
1394 else if (COMPILEDP (fun)) 1394 else if (COMPILEDP (fun))
1395 return (XVECTOR (fun)->size > COMPILED_INTERACTIVE 1395 return (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK > COMPILED_INTERACTIVE
1396 ? Qt : Qnil); 1396 ? Qt : Qnil);
1397 1397
1398 /* Strings and vectors are keyboard macros. */ 1398 /* Strings and vectors are keyboard macros. */