[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 07f8fafe6b 2/3: Further help-fns--editable-variable fixes
From: |
Lars Ingebrigtsen |
Subject: |
master 07f8fafe6b 2/3: Further help-fns--editable-variable fixes |
Date: |
Sun, 24 Apr 2022 10:07:23 -0400 (EDT) |
branch: master
commit 07f8fafe6ba095bb5a811d947ad2772dad058d4f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Further help-fns--editable-variable fixes
* lisp/help-fns.el (help-fns--editable-variable): Don't bug out on
non-symbols.
---
lisp/help-fns.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 12a4ecf2f3..23cfb04798 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -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