diff options
| author | Karl Heuer | 1997-11-20 21:59:02 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-11-20 21:59:02 +0000 |
| commit | d56458467b9369000cefd1b41acb77736bf8c8a9 (patch) | |
| tree | d92a28a518cea5c2237c0aa9ccf08423a3ac9d28 | |
| parent | dac4e1e7f13cc380dfdf76a011da1aecdd522781 (diff) | |
| download | emacs-d56458467b9369000cefd1b41acb77736bf8c8a9.tar.gz emacs-d56458467b9369000cefd1b41acb77736bf8c8a9.zip | |
(describe-variable): Don't use symbol-name if v isn't symbol.
| -rw-r--r-- | lisp/help.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 633 | (setq val (completing-read (if (symbolp v) | 633 | (setq val (completing-read (if (symbolp v) |
| 634 | (format "Describe variable (default %s): " v) | 634 | (format "Describe variable (default %s): " v) |
| 635 | "Describe variable: ") | 635 | "Describe variable: ") |
| 636 | obarray 'boundp t nil nil (symbol-name v))) | 636 | obarray 'boundp t nil nil |
| 637 | (if (symbolp v) (symbol-name v)))) | ||
| 637 | (list (if (equal val "") | 638 | (list (if (equal val "") |
| 638 | v (intern val))))) | 639 | v (intern val))))) |
| 639 | (if (symbolp variable) | 640 | (if (symbolp variable) |