diff options
| author | Richard M. Stallman | 2006-12-17 22:14:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-12-17 22:14:11 +0000 |
| commit | cc86b31bb97f039a893d2bd67a77758391f77565 (patch) | |
| tree | de4d5ef8127a77bdfbdb6fd8fd63bbcf54678b52 | |
| parent | bce4aeb40ade40ad5b2df215c9085e499c7b6d17 (diff) | |
| download | emacs-cc86b31bb97f039a893d2bd67a77758391f77565.tar.gz emacs-cc86b31bb97f039a893d2bd67a77758391f77565.zip | |
(describe-variable): Improve blank separator lines.
| -rw-r--r-- | lisp/help-fns.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index e4d77e3447c..740504c95a6 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -575,8 +575,11 @@ it is displayed along with the global value." | |||
| 575 | (documentation-property alias 'variable-documentation)))) | 575 | (documentation-property alias 'variable-documentation)))) |
| 576 | (unless (eq alias variable) | 576 | (unless (eq alias variable) |
| 577 | (princ (format "\nThis variable is an alias for `%s'.\n" alias))) | 577 | (princ (format "\nThis variable is an alias for `%s'.\n" alias))) |
| 578 | (if (or obsolete safe-var) | ||
| 579 | (terpri)) | ||
| 580 | |||
| 578 | (when obsolete | 581 | (when obsolete |
| 579 | (princ "\nThis variable is obsolete") | 582 | (princ "This variable is obsolete") |
| 580 | (if (cdr obsolete) (princ (format " since %s" (cdr obsolete)))) | 583 | (if (cdr obsolete) (princ (format " since %s" (cdr obsolete)))) |
| 581 | (princ ";") (terpri) | 584 | (princ ";") (terpri) |
| 582 | (princ (if (stringp (car obsolete)) (car obsolete) | 585 | (princ (if (stringp (car obsolete)) (car obsolete) |
| @@ -587,9 +590,8 @@ it is displayed along with the global value." | |||
| 587 | (princ "if its value\nsatisfies the predicate ") | 590 | (princ "if its value\nsatisfies the predicate ") |
| 588 | (princ (if (byte-code-function-p safe-var) | 591 | (princ (if (byte-code-function-p safe-var) |
| 589 | "which is byte-compiled expression.\n" | 592 | "which is byte-compiled expression.\n" |
| 590 | (format "`%s'.\n" safe-var))) | 593 | (format "`%s'.\n" safe-var)))) |
| 591 | (terpri)) | 594 | (princ "\nDocumentation:\n") |
| 592 | (princ "Documentation:\n") | ||
| 593 | (princ (or doc "Not documented as a variable."))) | 595 | (princ (or doc "Not documented as a variable."))) |
| 594 | ;; Make a link to customize if this variable can be customized. | 596 | ;; Make a link to customize if this variable can be customized. |
| 595 | (if (custom-variable-p variable) | 597 | (if (custom-variable-p variable) |