[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ed28ca4: Don't use `setq-local' in Gnus code
From: |
João Távora |
Subject: |
[Emacs-diffs] master ed28ca4: Don't use `setq-local' in Gnus code |
Date: |
Sun, 12 Apr 2015 22:25:15 +0000 |
branch: master
commit ed28ca4c2429059608178d3d477dd169aae1f476
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
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'.
---
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 b1bee65..3dc2908 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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ed28ca4: Don't use `setq-local' in Gnus code,
João Távora <=