diff options
| author | Stefan Monnier | 2014-06-24 20:48:10 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-06-24 20:48:10 -0400 |
| commit | 50f290812618d79c29a5c540bb65ee6e52dc548d (patch) | |
| tree | 267edc325d7a6698d15ed44a5c55c06a15c4f398 | |
| parent | a4d8b73e1cb0f9c59a4f93170248dd85c5ee680c (diff) | |
| download | emacs-50f290812618d79c29a5c540bb65ee6e52dc548d.tar.gz emacs-50f290812618d79c29a5c540bb65ee6e52dc548d.zip | |
* lisp/help-fns.el (describe-function-1): Check file-name is a string before
calling help-fns--autoloaded-p.
Fixes: debbugs:17564
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help-fns.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5981c50af77..f0fecd95e9f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * help-fns.el (describe-function-1): Check file-name is a string before | ||
| 4 | calling help-fns--autoloaded-p (bug#17564). | ||
| 5 | |||
| 1 | 2014-06-24 Juri Linkov <juri@jurta.org> | 6 | 2014-06-24 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * desktop.el (desktop-auto-save-enable) | 8 | * desktop.el (desktop-auto-save-enable) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 5b0739ed9ae..46b73701835 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -460,7 +460,7 @@ FILE is the file where FUNCTION was probably defined." | |||
| 460 | (beg (if (and (or (byte-code-function-p def) | 460 | (beg (if (and (or (byte-code-function-p def) |
| 461 | (keymapp def) | 461 | (keymapp def) |
| 462 | (memq (car-safe def) '(macro lambda closure))) | 462 | (memq (car-safe def) '(macro lambda closure))) |
| 463 | file-name | 463 | (stringp file-name) |
| 464 | (help-fns--autoloaded-p function file-name)) | 464 | (help-fns--autoloaded-p function file-name)) |
| 465 | (if (commandp def) | 465 | (if (commandp def) |
| 466 | "an interactive autoloaded " | 466 | "an interactive autoloaded " |