diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-10-30 21:18:39 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-10-30 21:18:39 +0000 |
commit | d845e5edd955b114dd7de423c9d37dfbe3414611 (patch) | |
tree | 2d26d6fda6505c2fa7f78bc6be76ec9103b40ce3 /lisp | |
parent | 8043866cc1b148a489ed52ff0d904e617287fe2e (diff) | |
download | emacs-d845e5edd955b114dd7de423c9d37dfbe3414611.tar.gz |
(describe-variable): Don't call substitute-command-keys.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/help.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/help.el b/lisp/help.el index e416fd3d887..68c18ecd48a 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -627,9 +627,7 @@ Returns the documentation as a string, also." (princ "Documentation:") (terpri) (let ((doc (documentation-property variable 'variable-documentation))) - (if doc - (princ (substitute-command-keys doc)) - (princ "not documented as a variable."))) + (princ (or doc "not documented as a variable."))) (print-help-return-message) (save-excursion (set-buffer standard-output) |