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)
This commit is contained in:
Nicolas Richard 2014-05-14 22:41:53 +02:00 committed by David Engster
parent 34cba8e885
commit ec264fbb7c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string. (Bug#17490)
2014-05-14 Stephen Berman <stephen.berman@gmx.net>
Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -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))))))