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:
parent
e1fc2db751
commit
6ca9e0e2f1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue