From ed28ca4c2429059608178d3d477dd169aae1f476 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 12 Apr 2015 23:23:44 +0100 Subject: [PATCH] Don't use `setq-local' in Gnus code This might break upstream builds with older Emacsen * lisp/gnus/message.el (message-mode): Use `set' and `make-local-variable' instead of `setq-local'. --- lisp/gnus/message.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index b1bee65b7fe..3dc29088d84 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -3092,8 +3092,8 @@ M-RET `message-newline-and-reformat' (break the line and reformat)." ;; `electric-pair-mode', and C-M-* navigation by syntactically ;; excluding citations and other artifacts. ;; - (setq-local syntax-propertize-function 'message--syntax-propertize) - (setq-local parse-sexp-ignore-comments t)) + (set (make-local-variable 'syntax-propertize-function) 'message--syntax-propertize) + (set (make-local-variable 'parse-sexp-ignore-comments) t)) (defun message-setup-fill-variables () "Setup message fill variables." -- 2.39.2