emacs - open ppt file with external open instead of emacs
authorPeng Li <seudut@gmail.com>
Tue, 15 Nov 2016 12:08:59 +0000 (20:08 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 15 Nov 2016 12:08:59 +0000 (20:08 +0800)
emacs.d/config.org

index ffb0e13..9bfe934 100644 (file)
@@ -726,7 +726,9 @@ Always indents header, and hide header leading starts so that no need type =#+ST
     (setq org-hide-emphasis-markers t)
     (setq org-html-validation-link nil)
     ;; open link when return clicked
-    (setq org-return-follows-link t))
+    (setq org-return-follows-link t)
+    ;; open the ppt file by external open instead of emacs
+    (add-to-list 'org-file-apps '("\\.pptx" . "open %s")))
 #+END_SRC