summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorNicolas Richard <theonewiththeevillook@yahoo.fr>2014-05-14 22:41:53 +0200
committerDavid Engster <dengste@eml.cc>2014-05-14 22:41:53 +0200
commitec264fbb7cb99b193619db76a8d25a228634ffa3 (patch)
tree52d928aed5e8ec8f958b458ba06a52629e3bf839 /lisp/emacs-lisp
parent34cba8e885f2ed1c0e9c805ad89b9464e0b5766a (diff)
downloademacs-ec264fbb7cb99b193619db76a8d25a228634ffa3.tar.gz
emacs-ec264fbb7cb99b193619db76a8d25a228634ffa3.tar.bz2
emacs-ec264fbb7cb99b193619db76a8d25a228634ffa3.zip
Deal with EIEIO methods without doc strings (Bug#17490).
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with methods which do not have a doc string. (Bug#17490)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/eieio-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index a502901a469..ca9b91bed58 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -141,7 +141,7 @@ If CLASS is actually an object, then also display current values of that object.
(insert " " (aref type counter) " "
(prin1-to-string (car cur) (current-buffer))
"\n"
- (cdr cur)))
+ (or (cdr cur) "")))
(setq counter (1+ counter))))
(insert "\n\n")
(setq methods (cdr methods))))))