aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorRoland McGrath1995-01-05 07:45:50 +0000
committerRoland McGrath1995-01-05 07:45:50 +0000
commitf9b4aacf1bc578575e80eda5e687ab472f0fc211 (patch)
tree7d0a8f6b71a9bcecf508036f3b64aa7835e6a8d8 /src/doc.c
parent610f41b7515faeb775afe441b65767066839ac29 (diff)
downloademacs-f9b4aacf1bc578575e80eda5e687ab472f0fc211.tar.gz
emacs-f9b4aacf1bc578575e80eda5e687ab472f0fc211.zip
Fix typo in last change.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index 6c998636a7b..52b3ad724f4 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -279,7 +279,7 @@ string is passed through `substitute-command-keys'.")
279 } 279 }
280 else if (COMPILEDP (fun)) 280 else if (COMPILEDP (fun))
281 { 281 {
282 if (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK <= COMPILED_DOC_STRING) 282 if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) <= COMPILED_DOC_STRING)
283 return Qnil; 283 return Qnil;
284 tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING]; 284 tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING];
285 if (STRINGP (tem)) 285 if (STRINGP (tem))
@@ -394,7 +394,7 @@ store_function_docstring (fun, offset)
394 { 394 {
395 /* This bytecode object must have a slot for the 395 /* This bytecode object must have a slot for the
396 docstring, since we've found a docstring for it. */ 396 docstring, since we've found a docstring for it. */
397 if (XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK > COMPILED_DOC_STRING) 397 if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) > COMPILED_DOC_STRING)
398 XSETFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING], offset); 398 XSETFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING], offset);
399 } 399 }
400} 400}