diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-11-22 15:46:06 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-11-22 19:50:56 -0500 |
commit | 19c46db99b89acd8496392c7cfcf9e6cd9214659 (patch) | |
tree | 0f7ffb9b157c943d3187a8b01d08f93250fb8ff7 | |
parent | 88b445e0e10b4c59f385989218a4f05824da2b75 (diff) | |
download | piem-19c46db99b89acd8496392c7cfcf9e6cd9214659.tar.gz |
gnus: Prefer mm-handle-media-type over direct access
Message-Id: <20201122204609.12604-2-kyle@kyleam.com>
-rw-r--r-- | piem-gnus.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/piem-gnus.el b/piem-gnus.el index 4afa747..237eeb1 100644 --- a/piem-gnus.el +++ b/piem-gnus.el @@ -69,7 +69,7 @@ message itself if it looks like a patch." (delq nil (mapcar (lambda (handle) (and (listp handle) - (member (caar (cdr handle)) + (member (mm-handle-media-type handle) '("text/x-diff" "text/x-patch")) (with-temp-buffer (mm-display-inline handle) |