emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 655b39bd4b: Don't have help-fns--editable-variable override link


From: Lars Ingebrigtsen
Subject: master 655b39bd4b: Don't have help-fns--editable-variable override link buttons
Date: Sat, 23 Apr 2022 11:02:00 -0400 (EDT)

branch: master
commit 655b39bd4b8977cdcaa063d51b6651d2ab177f54
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Don't have help-fns--editable-variable override link buttons
    
    * lisp/help-fns.el (help-fns--editable-variable): Don't override
    link buttons (bug#40774).
---
 lisp/help-fns.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 72d773403f..0e46ca1c55 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1302,7 +1302,10 @@ it is displayed along with the global value."
              (buffer-string))))))))
 
 (defun help-fns--editable-variable (start end variable value buffer)
-  (when (and (readablep value) help-enable-variable-value-editing)
+  (when (and (readablep value)
+             (not (boundp value))
+             (not (fboundp value))
+             help-enable-variable-value-editing)
     (add-text-properties
      start end
      (list 'help-echo "`e' to edit the value"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]