[gnus git] branch master updated: m0-11-212-g463e3c4 =1= message.el (message-mode): Don't use `setq-local' in Gnus code
Katsumi <[email protected]> Mon, 13 Apr 2015 00:44:14 +0200
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 463e3c4e9165f75b5bab0462e04eac39ee7fbc26 (commit)
from 81350f14c7234dec39d0fef592ee5f87901da9c1 (commit)
- Log -----------------------------------------------------------------
commit 463e3c4e9165f75b5bab0462e04eac39ee7fbc26
Author: João Távora <[email protected]>
Date: Sun Apr 12 22:43:57 2015 +0000
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 651de2f..8fb3ba7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-12 João Távora <[email protected]>
+
+ * message.el (message-mode):
+ Use `set' and `make-local-variable' instead of `setq-local'.
+
2015-04-12 Johan Bockgård <[email protected]>
* gnus-sum.el (gnus-summary-refer-thread):
diff --git a/lisp/message.el b/lisp/message.el
index 5b44866..3d10eae 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."
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/message.el | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project