From: João Távora Date: Sun, 12 Apr 2015 22:43:57 +0000 (+0000) Subject: message.el (message-mode): Don't use `setq-local' in Gnus code X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=463e3c4e9165f75b5bab0462e04eac39ee7fbc26 message.el (message-mode): Don't use `setq-local' in Gnus code This might break upstream builds with older Emacsen --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 651de2ff7..8fb3ba777 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2015-04-12 João Távora + + * message.el (message-mode): + Use `set' and `make-local-variable' instead of `setq-local'. + 2015-04-12 Johan BockgÃ¥rd * gnus-sum.el (gnus-summary-refer-thread): diff --git a/lisp/message.el b/lisp/message.el index 5b4486640..3d10eaede 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -3136,8 +3136,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."