summaryrefslogtreecommitdiff
path: root/piem.el
diff options
context:
space:
mode:
Diffstat (limited to 'piem.el')
-rw-r--r--piem.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/piem.el b/piem.el
index 0c5f9cf..16ccdfc 100644
--- a/piem.el
+++ b/piem.el
@@ -40,10 +40,10 @@
(require 'browse-url)
(require 'cl-lib)
(require 'mail-extr)
+(require 'mail-parse)
(require 'message)
(require 'mm-decode)
(require 'piem-maildir)
-(require 'rfc2047)
(require 'subr-x)
(require 'transient)
(require 'url)
@@ -472,7 +472,7 @@ non-nil, make the match specific for that message."
(message-narrow-to-head)
(mapcar (lambda (header)
(when-let ((val (message-fetch-field header)))
- (rfc2047-decode-string val)))
+ (mail-decode-encoded-word-string val)))
headers))))
(defun piem-inbox-by-header-match ()