summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-17 16:30:16 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-17 16:30:16 +0200
commit488a4cd61be621ad489bd91c221b0df2d0114203 (patch)
treecbe404dff7778ac18733ee81e7714deceda567d6 /lisp/help-fns.el
parent6db5c7f8c47590269d196a329eab727228b9be19 (diff)
downloademacs-488a4cd61be621ad489bd91c221b0df2d0114203.tar.gz
Allow editing all symbols in help-fns--editable-variable
* lisp/help-fns.el (help-fns--editable-variable): Allow editing all symbols (bug#56038).
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 61fc8037dfa..ca5750723f3 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1352,9 +1352,6 @@ it is displayed along with the global value."
(defun help-fns--editable-variable (start end variable value buffer)
(when (and (readablep value)
- (or (not (symbolp value))
- (and (not (and (symbolp value) (boundp value)))
- (not (and (symbolp value) (fboundp value)))))
help-enable-variable-value-editing)
(add-text-properties
start end
@@ -1362,6 +1359,7 @@ it is displayed along with the global value."
'help-fns--edit-variable (list variable value buffer
(current-buffer))
'keymap (define-keymap
+ :parent button-map
"e" #'help-fns-edit-variable)))))
(defvar help-fns--edit-variable)