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:
Henrik Lissner 2020-07-26 14:12:07 -04:00
parent e1fc2db751
commit 6ca9e0e2f1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -636,7 +636,7 @@ testing advice (when combined with `rotate-text').
;;
;;; Backports
(when! (not EMACS27+)
(when! (version< emacs-version "27.0.90")
;; DEPRECATED Backported from Emacs 27
(defmacro setq-local (&rest pairs)
"Make variables in PAIRS buffer-local and assign them the corresponding values.