* lisp/help-fns.el (describe-function-1): Check file-name is a string before
[bpt/emacs.git] / lisp / help-fns.el
index 5b0739e..46b7370 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 "