From 05e7ce903731c7d79b14f6687ee365693e4dff49 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 15 Jun 2013 03:12:05 +0200 Subject: [PATCH] lisp/help-fns.el (describe-variable): Add extra line for permanent-local vars. --- lisp/ChangeLog | 5 +++++ lisp/help-fns.el | 2 ++ 2 files changed, 7 insertions(+) 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"))) -- 2.11.4.GIT