From 3269fb952c691144d26ee30f3d784c38829ecdc4 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 21:03:31 +0100 Subject: [PATCH] Open pdf's in Emacs from org mode --- init.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.org b/init.org index b8a06b4..402f50a 100644 --- a/init.org +++ b/init.org @@ -1102,6 +1102,13 @@ (custom-set-variables '(org-export-allow-bind-keywords t)))) #+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 This makes =.md=-files open in =markdown-mode=.