From ec264fbb7cb99b193619db76a8d25a228634ffa3 Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Wed, 14 May 2014 22:41:53 +0200 Subject: 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) --- lisp/emacs-lisp/eieio-opt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') 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)))))) -- cgit v1.2.3