emacs-diffs
[Top][All Lists]
Advanced

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

master 488a4cd61b: Allow editing all symbols in help-fns--editable-varia


From: Lars Ingebrigtsen
Subject: master 488a4cd61b: Allow editing all symbols in help-fns--editable-variable
Date: Fri, 17 Jun 2022 10:30:34 -0400 (EDT)

branch: master
commit 488a4cd61be621ad489bd91c221b0df2d0114203
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Allow editing all symbols in help-fns--editable-variable
    
    * lisp/help-fns.el (help-fns--editable-variable): Allow editing
    all symbols (bug#56038).
---
 lisp/help-fns.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 61fc8037df..ca5750723f 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)



reply via email to

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