aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorJoakim Verona2012-08-01 13:16:20 +0200
committerJoakim Verona2012-08-01 13:16:20 +0200
commit610ba6f8ddf2298849cad522b6952bc694f0e63f (patch)
tree64548d6651c0501eb5838c566a6902d500228b5f /src/doc.c
parent55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (diff)
parent069bac5e5b55c0f63bd2764e727108d2b48b2643 (diff)
downloademacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.tar.gz
emacs-610ba6f8ddf2298849cad522b6952bc694f0e63f.zip
upstream
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index 44363e30e82..e57b26525e1 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -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