summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-10-25 10:55:53 +0200
committerAndreas Schwab <schwab@suse.de>2018-10-25 11:04:34 +0200
commit71a2d509f9d2350c6aacfeed24e1e9d8c7fdfebe (patch)
treebd224717b134f7e4d7ea99c3cdbd1b10a874e384 /lisp/cus-edit.el
parent7e8eee60a9dbb0c59cf26f237b21efe7fd1043c9 (diff)
downloademacs-71a2d509f9d2350c6aacfeed24e1e9d8c7fdfebe.tar.gz
Fix minibuffer-help-form for lexical binding
* lisp/simple.el (set-variable): Substitute var into minibuffer-help-form. * lisp/cus-edit.el (custom-prompt-variable): Likewise.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 3ede483dade..33efdd92539 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -917,7 +917,7 @@ the current value of the variable, otherwise `symbol-value' is used.
If optional COMMENT argument is non-nil, also prompt for a comment and return
it as the third element in the list."
(let* ((var (read-variable prompt-var))
- (minibuffer-help-form '(describe-variable var))
+ (minibuffer-help-form `(describe-variable ',var))
(val
(let ((prop (get var 'variable-interactive))
(type (get var 'custom-type))