lang/org: fix opening file links
This commit is contained in:
parent
3bfb7fa17d
commit
7e21d66bf7
1 changed files with 4 additions and 1 deletions
|
@ -257,7 +257,10 @@ between the two."
|
||||||
|
|
||||||
;; Let OS decide what to do with files when opened
|
;; Let OS decide what to do with files when opened
|
||||||
(setq org-file-apps
|
(setq org-file-apps
|
||||||
`(("\\.org$" . emacs)
|
`(("pdf" . default)
|
||||||
|
("\\.x?html?\\'" . default)
|
||||||
|
(auto-mode . emacs)
|
||||||
|
(directory . emacs)
|
||||||
(t . ,(cond (IS-MAC "open -R \"%s\"")
|
(t . ,(cond (IS-MAC "open -R \"%s\"")
|
||||||
(IS-LINUX "xdg-open \"%s\"")))))
|
(IS-LINUX "xdg-open \"%s\"")))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue