]> git.eshelyaron.com Git - emacs.git/commitdiff
Further help-fns--editable-variable fixes
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Apr 2022 14:03:12 +0000 (16:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Apr 2022 14:03:12 +0000 (16:03 +0200)
* lisp/help-fns.el (help-fns--editable-variable): Don't bug out on
non-symbols.

lisp/help-fns.el

index 12a4ecf2f3abc7b25d4bfcabe178813952ed5929..23cfb04798fb70d927814ff36e933ed7efe4dc67 100644 (file)
@@ -1303,8 +1303,9 @@ it is displayed along with the global value."
 
 (defun help-fns--editable-variable (start end variable value buffer)
   (when (and (readablep value)
-             (not (and (symbolp value) (boundp value)))
-             (not (and (symbolp value) (fboundp 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