aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/doc.c b/src/doc.c
index 0d9c8021cdf..ecefd776b85 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -416,21 +416,6 @@ string is passed through `substitute-command-keys'. */)
416 xsignal1 (Qinvalid_function, fun); 416 xsignal1 (Qinvalid_function, fun);
417 } 417 }
418 418
419 /* Check for a dynamic docstring. These come with
420 a dynamic-docstring-function text property. */
421 if (STRINGP (doc))
422 {
423 Lisp_Object func
424 = Fget_text_property (make_number (0),
425 intern ("dynamic-docstring-function"),
426 doc);
427 if (!NILP (func))
428 /* Pass both `doc' and `function' since `function' can be needed, and
429 finding `doc' can be annoying: calling `documentation' is not an
430 option because it would infloop. */
431 doc = call2 (func, doc, function);
432 }
433
434 /* If DOC is 0, it's typically because of a dumped file missing 419 /* If DOC is 0, it's typically because of a dumped file missing
435 from the DOC file (bug in src/Makefile.in). */ 420 from the DOC file (bug in src/Makefile.in). */
436 if (EQ (doc, make_number (0))) 421 if (EQ (doc, make_number (0)))