From b7c0513998ca991c9216f0c56c5c0b31efc40400 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 18 Jun 2022 18:09:04 +0100 Subject: mailcap tweaks --- custom/jao-custom-email.el | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'custom') diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el index 37c8acb..45fda21 100644 --- a/custom/jao-custom-email.el +++ b/custom/jao-custom-email.el @@ -215,23 +215,6 @@ (jao-sendmail-local) -;;; mailcap -(use-package mailcap - :config - (add-to-list 'mailcap-mime-extensions '(".JPEG" . "image/jpeg")) - (add-to-list 'mailcap-mime-extensions '(".JPG" . "image/jpeg")) - - (defun jao-icalendar-import-buffer () - (let ((icalendar-import-format "%s%u%l%d")) - (icalendar-import-buffer diary-file t nil)) - (kill-buffer) - (message "Event imported into diary")) - - :custom - ((mailcap-user-mime-data - '((jao-icalendar-import-buffer "application/ics") - ("viewpdf.sh %s" "application/pdf"))))) - ;;; multipart html renderer (defun jao-w3m-html-renderer (handle) (let ((w3m-message-silent t) -- cgit v1.2.3