# HG changeset patch # User Richard M. Stallman # Date 1166393651 0 # Node ID e262a8360a6ae22b9a4861fe3d2ac02c999d410a # Parent 106c2c75e8d3ed3ad01a371e817a8b92328fe0db (describe-variable): Improve blank separator lines. diff -r 106c2c75e8d3 -r e262a8360a6a lisp/help-fns.el --- a/lisp/help-fns.el Sun Dec 17 22:13:41 2006 +0000 +++ b/lisp/help-fns.el Sun Dec 17 22:14:11 2006 +0000 @@ -575,8 +575,11 @@ (documentation-property alias 'variable-documentation)))) (unless (eq alias variable) (princ (format "\nThis variable is an alias for `%s'.\n" alias))) + (if (or obsolete safe-var) + (terpri)) + (when obsolete - (princ "\nThis variable is obsolete") + (princ "This variable is obsolete") (if (cdr obsolete) (princ (format " since %s" (cdr obsolete)))) (princ ";") (terpri) (princ (if (stringp (car obsolete)) (car obsolete) @@ -587,9 +590,8 @@ (princ "if its value\nsatisfies the predicate ") (princ (if (byte-code-function-p safe-var) "which is byte-compiled expression.\n" - (format "`%s'.\n" safe-var))) - (terpri)) - (princ "Documentation:\n") + (format "`%s'.\n" safe-var)))) + (princ "\nDocumentation:\n") (princ (or doc "Not documented as a variable."))) ;; Make a link to customize if this variable can be customized. (if (custom-variable-p variable)