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'.
This commit is contained in:
João Távora 2015-04-12 23:23:44 +01:00
parent 3a4d078252
commit ed28ca4c24

View file

@ -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."