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).
This commit is contained in:
Lars Ingebrigtsen 2022-04-23 17:01:46 +02:00
commit 655b39bd4b

View 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"