Fiddle with org-file-apps a little

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:31 +00:00
parent e35e461c4a
commit 7ebb092929

View File

@ -144,13 +144,16 @@ needs to be set up to install them if they aren't already.
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
#+end_src
Also, I don't like Emacs' built-in PDF viewer, so open PDFs in Evince instead:
#+begin_src emacs-lisp
(eval-after-load "org"
'(progn
(setcdr (assoc "\\.pdf\\'" org-file-apps) "evince %s")))
#+end_src
** Default Applications
It's all fun and games until =C-c C-e h o= opens the source code.
#+begin_src emacs-lisp
(setq org-file-apps
'(("html" . "firefox %s")
(auto-mode . emacs)))
#+end_src
* Start up
Org is better suited as scratch space than Funamental, I'd say.