(describe-variable): Keep doc's text properties.
"which is byte-compiled expression.\n"
(format "`%s'.\n" safe-var))))
(princ "\nDocumentation:\n")
- (princ (or doc "Not documented as a variable.")))
+ (with-current-buffer standard-output
+ (insert (or doc "Not documented as a variable."))))
;; Make a link to customize if this variable can be customized.
(if (custom-variable-p variable)
(let ((customize-label "customize"))