diff --git a/emacs/init.org b/emacs/init.org index d7c56af..f22b847 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1555,8 +1555,12 @@ Include a timestamp when TODO entries are closed: Tell Emacs how to open file links of various types: #+BEGIN_SRC emacs-lisp (with-eval-after-load 'org - (add-to-list 'org-file-apps '(directory . emacs)) - (add-to-list 'org-file-apps '("log" . emacs))) + (setq org-file-apps '(("log" . emacs) + (auto-mode . emacs) + (directory . emacs) + ("\\.pdf\\'" . emacs) + ("\\.mm\\'" . default) + ("\\.x?html?\\'" . default)))) #+END_SRC A function to add ids to every heading in an Org file: