summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-23 17:01:46 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-23 17:01:55 +0200
commit655b39bd4b8977cdcaa063d51b6651d2ab177f54 (patch)
treeb6b63c7c53bee74cea6c0f9d4503eeef43f5793d /lisp/help-fns.el
parentceaa609523d1c33ea76b9e2aecf48eb50b8963e5 (diff)
downloademacs-655b39bd4b8977cdcaa063d51b6651d2ab177f54.tar.gz
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).
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 72d773403fd..0e46ca1c559 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"