From 7e21d66bf7ac7a48a7d8f05c0af3c22200284fce Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 3 Feb 2018 06:10:32 -0500 Subject: [PATCH] lang/org: fix opening file links --- modules/lang/org/config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index eb230c366..fad584eba 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -257,7 +257,10 @@ between the two." ;; Let OS decide what to do with files when opened (setq org-file-apps - `(("\\.org$" . emacs) + `(("pdf" . default) + ("\\.x?html?\\'" . default) + (auto-mode . emacs) + (directory . emacs) (t . ,(cond (IS-MAC "open -R \"%s\"") (IS-LINUX "xdg-open \"%s\"")))))