]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/help-fns.el (describe-function-1): Check file-name is a string before
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Jun 2014 00:48:10 +0000 (20:48 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Jun 2014 00:48:10 +0000 (20:48 -0400)
calling help-fns--autoloaded-p.

Fixes: debbugs:17564
lisp/ChangeLog
lisp/help-fns.el

index 5981c50af77465da7d97b464a600f140b950af9f..f0fecd95e9faec7d7150a10ae5a392471d77aca2 100644 (file)
@@ -1,3 +1,8 @@
+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)
index 5b0739ed9aeb80766fd7f0cbe2627f6be883286d..46b7370183554ac788cee4df6315598d38258573 100644 (file)
@@ -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 "