emacs - open doc file with external open instead of emacs
authorPeng Li <seudut@gmail.com>
Thu, 17 Nov 2016 14:41:26 +0000 (22:41 +0800)
committerPeng Li <seudut@gmail.com>
Thu, 17 Nov 2016 14:41:26 +0000 (22:41 +0800)
emacs.d/config.org

index 904ba56..42b760e 100644 (file)
@@ -729,6 +729,7 @@ Always indents header, and hide header leading starts so that no need type =#+ST
     (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"))
+    (add-to-list 'org-file-apps '("\\.doc" . "open %s"))
     (setq org-image-actual-width nil))
 #+END_SRC