Add setting for mime-mac.el if running with Mac OS X.
[elisp/semi.git] / 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
 ;;;