From: tomo Date: Sat, 28 Apr 2012 19:12:17 +0000 (+0000) Subject: Add setting for mime-mac.el if running with Mac OS X. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3a4794f686e29666a2893de822d4a08463f40e59;p=elisp%2Fsemi.git Add setting for mime-mac.el if running with Mac OS X. --- diff --git a/semi-setup.el b/semi-setup.el index 2333877..d37b190 100644 --- a/semi-setup.el +++ b/semi-setup.el @@ -208,6 +208,21 @@ it is used as hook to set." ;; (add-hook 'mu-cite/pre-cite-hook 'eword-decode-header) +;;; @ for Mac OS X +;;; + +(when (eq system-type 'darwin) + (eval-after-load "mime-view" + '(progn + (mime-add-condition + 'action + '((type . application) + (method . mime-mac-save-and-play-with-open)) + 'with-default + "mime-mac") + ))) + + ;;; @ end ;;;