We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34328c6 commit 5ad8a9cCopy full SHA for 5ad8a9c
helpful.el
@@ -606,7 +606,9 @@ overrides that to include previously opened buffers."
606
(let* ((sym (button-get button 'symbol))
607
(buf (button-get button 'buffer))
608
(sym-value (helpful--sym-value sym buf))
609
- (set-func (symbol-name helpful-set-variable-function))
+ (set-func (if (local-variable-p sym buf)
610
+ "setq"
611
+ (symbol-name helpful-set-variable-function)))
612
;; Inspired by `counsel-read-setq-expression'.
613
(expr
614
(minibuffer-with-setup-hook
0 commit comments