From: Karl Heuer Date: Thu, 20 Nov 1997 21:59:02 +0000 (+0000) Subject: (describe-variable): Don't use symbol-name if v isn't symbol. X-Git-Tag: emacs-20.3~2783 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d56458467b9369000cefd1b41acb77736bf8c8a9;p=emacs.git (describe-variable): Don't use symbol-name if v isn't symbol. --- diff --git a/lisp/help.el b/lisp/help.el index a7d0155c89c..2ab2c9cb0a1 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -633,7 +633,8 @@ Returns the documentation as a string, also." (setq val (completing-read (if (symbolp v) (format "Describe variable (default %s): " v) "Describe variable: ") - obarray 'boundp t nil nil (symbol-name v))) + obarray 'boundp t nil nil + (if (symbolp v) (symbol-name v)))) (list (if (equal val "") v (intern val))))) (if (symbolp variable)