]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't have help-fns--editable-variable override link buttons
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 23 Apr 2022 15:01:46 +0000 (17:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 23 Apr 2022 15:01:55 +0000 (17:01 +0200)
* lisp/help-fns.el (help-fns--editable-variable): Don't override
link buttons (bug#40774).

lisp/help-fns.el

index 72d773403fd625c7d5e40c4ad487a0bb7914053a..0e46ca1c559b93d94dbb8d5cf8e44b7157e49272 100644 (file)
@@ -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"