fix(lib): setq!: use set-default-toplevel-value
This is more correct, as we never want to use this to set buffer-local variables.
This commit is contained in:
parent
eda2e30721
commit
f0431b6fac
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ instead of `setopt'. Unlike `setq', this triggers custom setters on variables.
|
|||
Unlike `setopt', this won't needlessly pull in dependencies."
|
||||
(macroexp-progn
|
||||
(cl-loop for (var val) on settings by 'cddr
|
||||
collect `(funcall (or (get ',var 'custom-set) #'set)
|
||||
collect `(funcall (or (get ',var 'custom-set) #'set-default-toplevel-value)
|
||||
',var ,val))))
|
||||
|
||||
(defmacro delq! (elt list &optional fetcher)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue