From 5effb4d80fc9627633c71b372f602b9de3295980 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 26 Jan 2006 17:55:32 +0000 Subject: [PATCH] (describe-function): Don't pass `nil' as default. --- lisp/help-fns.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 14ceacfd92f..32719275edd 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -113,7 +113,8 @@ With ARG, you are asked to choose which language." (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) -- 2.39.2