mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
emacs: drop use of message-default-charset
Apparently, message-default-charset is deprecated, which causes the following warning messages during the build: In notmuch-maildir-setup-message-for-saving: emacs/notmuch-maildir-fcc.el:172:31:Warning: ‘message-default-charset’ is an obsolete variable (as of 26.1); The default charset comes from the language environment In discussion with emacs upstream over on https://debbugs.gnu.org/35370, it appears that we can just drop this entirely and things should still work with emacs 25.
This commit is contained in:
parent
f3cba19f88
commit
f079e7b9c3
1 changed files with 1 additions and 2 deletions
|
@ -169,8 +169,7 @@ This is taken from the function message-do-fcc."
|
||||||
(message-encode-message-body)
|
(message-encode-message-body)
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(message-narrow-to-headers)
|
(message-narrow-to-headers)
|
||||||
(let ((mail-parse-charset message-default-charset))
|
(mail-encode-encoded-word-buffer))
|
||||||
(mail-encode-encoded-word-buffer)))
|
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(when (re-search-forward
|
(when (re-search-forward
|
||||||
(concat "^" (regexp-quote mail-header-separator) "$")
|
(concat "^" (regexp-quote mail-header-separator) "$")
|
||||||
|
|
Loading…
Reference in a new issue