Created
January 22, 2015 23:55
-
-
Save tsuchm/bf9a6ee856dcf89c94f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; MIME part を表示するときに doc-view-mode を利用しないための設定 | |
;; doc-view-mode を使うようになっていると,applicate/pdf な MIME part | |
;; を表示できずに,単にファイルを保存してしまう. | |
(setq mailcap-mime-data | |
(mapcar | |
(lambda (data) | |
(cons (car data) | |
(delq nil | |
(mapcar | |
(lambda (pair) | |
(unless (eq (cdr (assq 'viewer (cdr pair))) 'doc-view-mode) | |
pair)) | |
(cdr data))))) | |
mailcap-mime-data)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment