X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mailcap.el;h=12eee8837929ea0a09ada7a39e4dd3fc9cda2e43;hb=8a3113daa75934774a9cff658c360a7719b2407f;hp=0e6711fc067c48b240940e105292282f574a0132;hpb=ac6014878b28589b78af4ed14309559019b57b9a;p=elisp%2Fflim.git diff --git a/mailcap.el b/mailcap.el index 0e6711f..12eee88 100644 --- a/mailcap.el +++ b/mailcap.el @@ -25,6 +25,9 @@ ;;; Code: +(require 'mime-def) + + ;;; @ comment ;;; @@ -167,8 +170,11 @@ order. Otherwise result is not sorted." (t entries) )))) -(defvar mailcap-file "~/.mailcap" - "*File name of user's mailcap file.") + +(defcustom mailcap-file "~/.mailcap" + "*File name of user's mailcap file." + :group 'mime + :type 'file) (defun mailcap-parse-file (&optional filename order) "Parse FILENAME as a mailcap, and return the result.