]> git.eshelyaron.com Git - emacs.git/commitdiff
Johan Bockg� <bojohan at dd.chalmers.se>
authorGlenn Morris <rgm@gnu.org>
Thu, 6 Sep 2007 05:53:42 +0000 (05:53 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 6 Sep 2007 05:53:42 +0000 (05:53 +0000)
(describe-variable): Keep doc's text properties.

lisp/help-fns.el

index 1de255d1e638864438aba62b1ae1c5b6d1411b02..cb99d188ffa3379bd51472dcaf3af3691b8b8018 100644 (file)
@@ -625,7 +625,8 @@ it is displayed along with the global value."
                           "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"))