Commit c8f98e6d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(describe-variable): Don't call substitute-command-keys.

parent 4d4c1514
......@@ -627,9 +627,7 @@ Returns the documentation as a string, also."
(princ "Documentation:")
(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.")))
(set-buffer standard-output)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment