aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2012-11-30 18:27:41 +0100
committerJuanma Barranquero2012-11-30 18:27:41 +0100
commitf8aff4c6b87598697d7fc67063037ac69f1c9421 (patch)
tree608b6c3f8e8fc72203eaec7bfa9e08636b120829 /src
parentfb3bf6ced41eea1431954e97137f52850a3b395c (diff)
downloademacs-f8aff4c6b87598697d7fc67063037ac69f1c9421.tar.gz
emacs-f8aff4c6b87598697d7fc67063037ac69f1c9421.zip
src/doc.c: Fix bug#13034.
(Fdocumentation): Re-add handling of function-documentation, accidentally removed in 2012-11-09T04:10:16Z!monnier@iro.umontreal.ca.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/doc.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b19ecc926d0..4b5e56f5dc2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-11-30 Juanma Barranquero <lekktu@gmail.com>
2
3 * doc.c (Fdocumentation): Re-add handling of function-documentation,
4 accidentally removed in 2012-11-09T04:10:16Z!monnier@iro.umontreal.ca (bug#13034).
5
12012-11-29 Dmitry Antipov <dmantipov@yandex.ru> 62012-11-29 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 * xdisp.c (window_outdated): Remove eassert since it hits 8 * xdisp.c (window_outdated): Remove eassert since it hits
diff --git a/src/doc.c b/src/doc.c
index 1d3d1e64442..76008295add 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -338,6 +338,14 @@ string is passed through `substitute-command-keys'. */)
338 338
339 doc = Qnil; 339 doc = Qnil;
340 340
341 if (SYMBOLP (function))
342 {
343 Lisp_Object tem = Fget (function, Qfunction_documentation);
344 if (!NILP (tem))
345 return Fdocumentation_property (function, Qfunction_documentation,
346 raw);
347 }
348
341 fun = Findirect_function (function, Qnil); 349 fun = Findirect_function (function, Qnil);
342 if (CONSP (fun) && EQ (XCAR (fun), Qmacro)) 350 if (CONSP (fun) && EQ (XCAR (fun), Qmacro))
343 fun = XCDR (fun); 351 fun = XCDR (fun);