mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user