]> code.delx.au - gnu-emacs/commitdiff
Deal with EIEIO methods without doc strings (Bug#17490).
authorNicolas Richard <theonewiththeevillook@yahoo.fr>
Wed, 14 May 2014 20:41:53 +0000 (22:41 +0200)
committerDavid Engster <dengste@eml.cc>
Wed, 14 May 2014 20:41:53 +0000 (22:41 +0200)
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string.  (Bug#17490)

lisp/ChangeLog
lisp/emacs-lisp/eieio-opt.el

index c4df237a66843d7f10510f5ddc6e3258b6f0ff78..5ec35ffd14f051522c39004b932ae50941228a51 100644 (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>
 
index a502901a469ec674a225db6c996b4abc901711ad..ca9b91bed58dcdf1aef556e4ad74065540c2920a 100644 (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))))))