mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3632: wrong-number-of-args on setq-local
Emacs 27.0.90 made setq-local variadic. I've backported this in core-lib for Emacs <27 users. However, there are users who install Emacs 27.0.50...
This commit is contained in:
@ -636,7 +636,7 @@ testing advice (when combined with `rotate-text').
|
|||||||
;;
|
;;
|
||||||
;;; Backports
|
;;; Backports
|
||||||
|
|
||||||
(when! (not EMACS27+)
|
(when! (version< emacs-version "27.0.90")
|
||||||
;; DEPRECATED Backported from Emacs 27
|
;; DEPRECATED Backported from Emacs 27
|
||||||
(defmacro setq-local (&rest pairs)
|
(defmacro setq-local (&rest pairs)
|
||||||
"Make variables in PAIRS buffer-local and assign them the corresponding values.
|
"Make variables in PAIRS buffer-local and assign them the corresponding values.
|
||||||
|
Reference in New Issue
Block a user