aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-06 05:53:42 +0000
committerGlenn Morris2007-09-06 05:53:42 +0000
commitfccd9537b1a9ee423d253a46fa7f0c3f6cbf9684 (patch)
treee2dfb5a93205694f2dd4291a247068e6844900b3
parent27ba1132c92f6cf3a11c5c27ff5d01ccf1fe6dda (diff)
downloademacs-fccd9537b1a9ee423d253a46fa7f0c3f6cbf9684.tar.gz
emacs-fccd9537b1a9ee423d253a46fa7f0c3f6cbf9684.zip
Johan Bockg� <bojohan at dd.chalmers.se>
(describe-variable): Keep doc's text properties.
-rw-r--r--lisp/help-fns.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 1de255d1e63..cb99d188ffa 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -625,7 +625,8 @@ it is displayed along with the global value."
625 "which is byte-compiled expression.\n" 625 "which is byte-compiled expression.\n"
626 (format "`%s'.\n" safe-var)))) 626 (format "`%s'.\n" safe-var))))
627 (princ "\nDocumentation:\n") 627 (princ "\nDocumentation:\n")
628 (princ (or doc "Not documented as a variable."))) 628 (with-current-buffer standard-output
629 (insert (or doc "Not documented as a variable."))))
629 ;; Make a link to customize if this variable can be customized. 630 ;; Make a link to customize if this variable can be customized.
630 (if (custom-variable-p variable) 631 (if (custom-variable-p variable)
631 (let ((customize-label "customize")) 632 (let ((customize-label "customize"))