diff options
| author | Stefan Monnier | 2014-01-29 23:02:28 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-01-29 23:02:28 -0500 |
| commit | 7b2f049c83480240de97f4431ea4cba2b946a507 (patch) | |
| tree | 1c2839801022f00302f32ec583d13311a3cf15c3 | |
| parent | ba74a2c0f27cbec77b4cfa01e70a98e0efb6c1e0 (diff) | |
| download | emacs-7b2f049c83480240de97f4431ea4cba2b946a507.tar.gz emacs-7b2f049c83480240de97f4431ea4cba2b946a507.zip | |
* lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
is a symbol.
Fixes: debbugs:16584
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eieio-opt.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ddc6221dffe..ad3c5d71aed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic' | ||
| 4 | is a symbol (bug#16584). | ||
| 5 | |||
| 1 | 2014-01-30 Glenn Morris <rgm@gnu.org> | 6 | 2014-01-30 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * help.el (help-for-help-internal): Add "P" to text. | 8 | * help.el (help-for-help-internal): Add "P" to text. |
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el index 8e43eff2b83..add4a055ee7 100644 --- a/lisp/emacs-lisp/eieio-opt.el +++ b/lisp/emacs-lisp/eieio-opt.el | |||
| @@ -315,7 +315,7 @@ are not abstract." | |||
| 315 | ;;;###autoload | 315 | ;;;###autoload |
| 316 | (defun eieio-help-generic (generic) | 316 | (defun eieio-help-generic (generic) |
| 317 | "Describe GENERIC if it is a generic function." | 317 | "Describe GENERIC if it is a generic function." |
| 318 | (when (generic-p generic) | 318 | (when (and symbolp generic) (generic-p generic)) |
| 319 | (save-excursion | 319 | (save-excursion |
| 320 | (goto-char (point-min)) | 320 | (goto-char (point-min)) |
| 321 | (when (re-search-forward " in `.+'.$" nil t) | 321 | (when (re-search-forward " in `.+'.$" nil t) |