Add setting for mime-mac.el if running with Mac OS X.
authortomo <tomo>
Sat, 28 Apr 2012 19:12:17 +0000 (19:12 +0000)
committertomo <tomo>
Sat, 28 Apr 2012 19:12:17 +0000 (19:12 +0000)
semi-setup.el

index 2333877..d37b190 100644 (file)
@@ -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
 ;;;