changeset 68402:e1e34f1d35e3

(describe-function): Don't pass `nil' as default.
author Richard M. Stallman <rms@gnu.org>
date Thu, 26 Jan 2006 17:55:32 +0000
parents b393baae88e0
children 18c6a9d97dc1
files lisp/help-fns.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Thu Jan 26 17:55:04 2006 +0000
+++ b/lisp/help-fns.el	Thu Jan 26 17:55:32 2006 +0000
@@ -113,7 +113,8 @@
      (setq val (completing-read (if fn
 				    (format "Describe function (default %s): " fn)
 				  "Describe function: ")
-				obarray 'fboundp t nil nil (symbol-name fn)))
+				obarray 'fboundp t nil nil
+				(and fn (symbol-name fn))))
      (list (if (equal val "")
 	       fn (intern val)))))
   (if (null function)