Commit 50f29081 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/help-fns.el (describe-function-1): Check file-name is a string before

calling help-fns--autoloaded-p.

Fixes: debbugs:17564
parent a4d8b73e
2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
* help-fns.el (describe-function-1): Check file-name is a string before
calling help-fns--autoloaded-p (bug#17564).
2014-06-24 Juri Linkov <juri@jurta.org>
* desktop.el (desktop-auto-save-enable)
......
......@@ -460,7 +460,7 @@ FILE is the file where FUNCTION was probably defined."
(beg (if (and (or (byte-code-function-p def)
(keymapp def)
(memq (car-safe def) '(macro lambda closure)))
file-name
(stringp file-name)
(help-fns--autoloaded-p function file-name))
(if (commandp def)
"an interactive autoloaded "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment