diff options
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -508,7 +508,7 @@ store_function_docstring (Lisp_Object obj, ptrdiff_t offset) | |||
| 508 | { | 508 | { |
| 509 | /* Don't use indirect_function here, or defaliases will apply their | 509 | /* Don't use indirect_function here, or defaliases will apply their |
| 510 | docstrings to the base functions (Bug#2603). */ | 510 | docstrings to the base functions (Bug#2603). */ |
| 511 | Lisp_Object fun = SYMBOLP (obj) ? XSYMBOL (obj)->function : obj; | 511 | Lisp_Object fun = SYMBOLP (obj) ? SVAR (XSYMBOL (obj), function) : obj; |
| 512 | 512 | ||
| 513 | /* The type determines where the docstring is stored. */ | 513 | /* The type determines where the docstring is stored. */ |
| 514 | 514 | ||