aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/doc.c15
2 files changed, 4 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 325e428bfeb..1f68372f31a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12014-01-03 Chong Yidong <cyd@gnu.org>
2
3 * doc.c (Fdocumentation): Remove dynamic-docstring-function.
4
12014-01-02 Martin Rudalics <rudalics@gmx.at> 52014-01-02 Martin Rudalics <rudalics@gmx.at>
2 6
3 Further adjust frame/window scrollbar width calculations. 7 Further adjust frame/window scrollbar width calculations.
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)))