From 07f8fafe6ba095bb5a811d947ad2772dad058d4f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 24 Apr 2022 16:03:12 +0200 Subject: [PATCH] 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 12a4ecf2f3a..23cfb04798f 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 -- 2.39.5