diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-03 09:12:22 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-03 09:12:22 +0200 |
commit | b9d8233998965b6d8206bfd0643d25377a1f018f (patch) | |
tree | 01588302392d4bb6d0faa1bcd5606ce7438e1c9f /lisp/help-fns.el | |
parent | a76e6535dc91d65de27f194861a5aa21e9b26365 (diff) | |
download | emacs-b9d8233998965b6d8206bfd0643d25377a1f018f.tar.gz emacs-b9d8233998965b6d8206bfd0643d25377a1f018f.tar.bz2 emacs-b9d8233998965b6d8206bfd0643d25377a1f018f.zip |
Fixes: debbugs:11848
* help-fns.el (describe-function-1): Only call
help-fns--autoloaded-p when we have a file name.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 52f1fe26056..387b65fe243 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -444,6 +444,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 (help-fns--autoloaded-p function file-name)) (if (commandp def) "an interactive autoloaded " |