]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-maildir-fcc.el
emacs: drop use of message-default-charset
[notmuch] / emacs / notmuch-maildir-fcc.el
index 1551e8b649102ccdfecad9a2ef278949bfb3d702..ae56bacd50b549b395bf6c39460728b294fa6bf3 100644 (file)
@@ -169,8 +169,7 @@ This is taken from the function message-do-fcc."
   (message-encode-message-body)
   (save-restriction
     (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))
   (when (re-search-forward
         (concat "^" (regexp-quote mail-header-separator) "$")