changeset 20290:456ed25a8605

(describe-variable): Don't use symbol-name if v isn't symbol.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Nov 1997 21:59:02 +0000
parents d9e4922a5ace
children 96eee1e730a1
files lisp/help.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Thu Nov 20 21:56:52 1997 +0000
+++ b/lisp/help.el	Thu Nov 20 21:59:02 1997 +0000
@@ -633,7 +633,8 @@
      (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)