Open pdf's in Emacs from org mode

This commit is contained in:
Lars Tveito 2020-03-10 21:03:31 +01:00
parent 7b0b5372e3
commit 3269fb952c

View File

@ -1102,6 +1102,13 @@
(custom-set-variables '(org-export-allow-bind-keywords t)))) (custom-set-variables '(org-export-allow-bind-keywords t))))
#+END_SRC #+END_SRC
Use Emacs for opening the PDF file, when invoking ~C-c C-e l o~.
#+BEGIN_SRC emacs-lisp
(require 'org)
(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs))
#+END_SRC
** Markdown ** Markdown
This makes =.md=-files open in =markdown-mode=. This makes =.md=-files open in =markdown-mode=.