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:
parent
3a4d078252
commit
ed28ca4c24
1 changed files with 2 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue