diff options
author | João Távora <joaotavora@gmail.com> | 2015-04-12 23:23:44 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2015-04-12 23:25:09 +0100 |
commit | ed28ca4c2429059608178d3d477dd169aae1f476 (patch) | |
tree | c71a0f99daab3b009d110cd93c485a53254ca53c /lisp/gnus/message.el | |
parent | 3a4d0782520eab6c6466d640a4a261174f58ac19 (diff) | |
download | emacs-ed28ca4c2429059608178d3d477dd169aae1f476.tar.gz |
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'.
Diffstat (limited to 'lisp/gnus/message.el')
-rw-r--r-- | lisp/gnus/message.el | 4 |
1 files 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." |