From 6ca9e0e2f1b211da8df007f2ee67bd814638287f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 26 Jul 2020 14:12:07 -0400 Subject: [PATCH] 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... --- core/core-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-lib.el b/core/core-lib.el index e5e257f37..6d6cf6923 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -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.