From f9b4aacf1bc578575e80eda5e687ab472f0fc211 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 Jan 1995 07:45:50 +0000 Subject: [PATCH] Fix typo in last change. --- src/callint.c | 2 +- src/doc.c | 4 ++-- src/eval.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/callint.c b/src/callint.c index f01db7c575..3de79be2a3 100644 --- a/src/callint.c +++ b/src/callint.c @@ -229,7 +229,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.") } else if (COMPILEDP (fun)) { - if (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK <= COMPILED_INTERACTIVE) + if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) <= COMPILED_INTERACTIVE) goto lose; specs = XVECTOR (fun)->contents[COMPILED_INTERACTIVE]; } diff --git a/src/doc.c b/src/doc.c index 6c998636a7..52b3ad724f 100644 --- a/src/doc.c +++ b/src/doc.c @@ -279,7 +279,7 @@ string is passed through `substitute-command-keys'.") } else if (COMPILEDP (fun)) { - if (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK <= COMPILED_DOC_STRING) + if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) <= COMPILED_DOC_STRING) return Qnil; tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING]; if (STRINGP (tem)) @@ -394,7 +394,7 @@ store_function_docstring (fun, offset) { /* This bytecode object must have a slot for the docstring, since we've found a docstring for it. */ - if (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK > COMPILED_DOC_STRING) + if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) > COMPILED_DOC_STRING) XSETFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING], offset); } } diff --git a/src/eval.c b/src/eval.c index 8626f790af..6cbd5ab035 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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 & PSEUDOVECTOR_SIZE_MASK > COMPILED_INTERACTIVE + return ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) > COMPILED_INTERACTIVE ? Qt : Qnil); /* Strings and vectors are keyboard macros. */ -- 2.20.1