summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-30 21:18:39 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-30 21:18:39 +0000
commitc8f98e6dac31f153d5ce9e394fcb1521bc51aa9a (patch)
tree076ad4b655cf74847e6f7752cd45c96bce13703d /lisp/help.el
parent4d4c1514ed9d7ae91d76615fe0dbb2da574638ff (diff)
downloademacs-c8f98e6dac31f153d5ce9e394fcb1521bc51aa9a.tar.gz
(describe-variable): Don't call substitute-command-keys.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el4
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)