mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Open pdf's in Emacs from org mode
This commit is contained in:
parent
7b0b5372e3
commit
3269fb952c
7
init.org
7
init.org
@ -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=.
|
||||||
|
Loading…
Reference in New Issue
Block a user