From: Peng Li Date: Tue, 15 Nov 2016 12:08:59 +0000 (+0800) Subject: emacs - open ppt file with external open instead of emacs X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=dbb1544ca6968010ee28563f9b8398076eb02fcf;p=dotfiles.git emacs - open ppt file with external open instead of emacs --- diff --git a/emacs.d/config.org b/emacs.d/config.org index ffb0e13..9bfe934 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -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