aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 15:48:16 +0000
committerKarl Heuer1994-10-04 15:48:16 +0000
commit2ee7863a14b300f75d873a0962810466d09a6456 (patch)
tree7ff979db44f058a6535724acfb492081d0bc16ce /src
parenta5d8b611ac0c9325e77894719bfd7333fbc38097 (diff)
downloademacs-2ee7863a14b300f75d873a0962810466d09a6456.tar.gz
emacs-2ee7863a14b300f75d873a0962810466d09a6456.zip
(store_function_docstring): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src')
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index 937181e8edf..8d84c8e7c40 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -262,7 +262,7 @@ store_function_docstring (fun, offset)
262 { 262 {
263 tem = Fcdr (Fcdr (fun)); 263 tem = Fcdr (Fcdr (fun));
264 if (CONSP (tem) && INTEGERP (XCONS (tem)->car)) 264 if (CONSP (tem) && INTEGERP (XCONS (tem)->car))
265 XFASTINT (XCONS (tem)->car) = offset; 265 XSETFASTINT (XCONS (tem)->car, offset);
266 } 266 }
267 else if (EQ (tem, Qmacro)) 267 else if (EQ (tem, Qmacro))
268 store_function_docstring (XCONS (fun)->cdr, offset); 268 store_function_docstring (XCONS (fun)->cdr, offset);
@@ -274,7 +274,7 @@ store_function_docstring (fun, offset)
274 /* This bytecode object must have a slot for the 274 /* This bytecode object must have a slot for the
275 docstring, since we've found a docstring for it. */ 275 docstring, since we've found a docstring for it. */
276 if (XVECTOR (fun)->size > COMPILED_DOC_STRING) 276 if (XVECTOR (fun)->size > COMPILED_DOC_STRING)
277 XFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING]) = offset; 277 XSETFASTINT (XVECTOR (fun)->contents[COMPILED_DOC_STRING], offset);
278 } 278 }
279} 279}
280 280