branch: externals/compat
commit 608953fe352aa2b2c242bfd2b60203778de477f7
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
Define setq-local as a macro, not a function
---
compat-27.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat-27.el b/compat-27.el
index ad37025deb..81b205ea87 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -264,7 +264,7 @@ represent a JSON false value. It defaults to `:false'."
;;;; Defined in subr.el
-(compat-defun setq-local (&rest pairs)
+(compat-defmacro setq-local (&rest pairs)
"Handle multiple assignments."
:prefix t
(unless (zerop (mod (length pairs) 2))