diff options
| author | Karl Heuer | 1994-10-04 15:48:16 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-10-04 15:48:16 +0000 |
| commit | 2ee7863a14b300f75d873a0962810466d09a6456 (patch) | |
| tree | 7ff979db44f058a6535724acfb492081d0bc16ce /src | |
| parent | a5d8b611ac0c9325e77894719bfd7333fbc38097 (diff) | |
| download | emacs-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||