From: Juanma Barranquero Date: Sat, 15 Jun 2013 01:12:05 +0000 (+0200) Subject: lisp/help-fns.el (describe-variable): Add extra line for permanent-local vars. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2016^2~102 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05e7ce903731c7d79b14f6687ee365693e4dff49;p=emacs.git lisp/help-fns.el (describe-variable): Add extra line for permanent-local vars. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 783cd2d864b..f45fbd3f5e0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-06-15 Juanma Barranquero + + * help-fns.el (describe-variable): + Add extra line for permanent-local variables. + 2013-06-15 Simen Heggestøyl (tiny change) * progmodes/scheme.el (scheme-font-lock-keywords-2): diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 86bb67e87c2..52aa0517fa8 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -875,8 +875,10 @@ it is displayed along with the global value." (princ "buffer-local when set.\n")) ((not permanent-local)) ((bufferp locus) + (setq extra-line t) (princ " This variable's buffer-local value is permanent.\n")) (t + (setq extra-line t) (princ " This variable's value is permanent \ if it is given a local binding.\n")))