diff options
-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) |