diff options
| author | João Távora | 2015-04-12 23:23:44 +0100 |
|---|---|---|
| committer | João Távora | 2015-04-12 23:25:09 +0100 |
| commit | ed28ca4c2429059608178d3d477dd169aae1f476 (patch) | |
| tree | c71a0f99daab3b009d110cd93c485a53254ca53c | |
| parent | 3a4d0782520eab6c6466d640a4a261174f58ac19 (diff) | |
| download | emacs-ed28ca4c2429059608178d3d477dd169aae1f476.tar.gz emacs-ed28ca4c2429059608178d3d477dd169aae1f476.zip | |
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'.
| -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)." | |||
| 3092 | ;; `electric-pair-mode', and C-M-* navigation by syntactically | 3092 | ;; `electric-pair-mode', and C-M-* navigation by syntactically |
| 3093 | ;; excluding citations and other artifacts. | 3093 | ;; excluding citations and other artifacts. |
| 3094 | ;; | 3094 | ;; |
| 3095 | (setq-local syntax-propertize-function 'message--syntax-propertize) | 3095 | (set (make-local-variable 'syntax-propertize-function) 'message--syntax-propertize) |
| 3096 | (setq-local parse-sexp-ignore-comments t)) | 3096 | (set (make-local-variable 'parse-sexp-ignore-comments) t)) |
| 3097 | 3097 | ||
| 3098 | (defun message-setup-fill-variables () | 3098 | (defun message-setup-fill-variables () |
| 3099 | "Setup message fill variables." | 3099 | "Setup message fill variables." |