Fiddle with org-file-apps a little
This commit is contained in:
parent
e35e461c4a
commit
7ebb092929
11
config.org
11
config.org
@ -144,12 +144,15 @@ needs to be set up to install them if they aren't already.
|
|||||||
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Also, I don't like Emacs' built-in PDF viewer, so open PDFs in Evince instead:
|
|
||||||
|
|
||||||
|
** Default Applications
|
||||||
|
It's all fun and games until =C-c C-e h o= opens the source code.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(eval-after-load "org"
|
(setq org-file-apps
|
||||||
'(progn
|
'(("html" . "firefox %s")
|
||||||
(setcdr (assoc "\\.pdf\\'" org-file-apps) "evince %s")))
|
(auto-mode . emacs)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Start up
|
* Start up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user