]> git.earman.xyz Git - emacsinit.git/commitdiff
Make org open pdfs in emacs, not external
authorrush <rearman@r717.net>
Wed, 1 Jul 2026 18:57:53 +0000 (14:57 -0400)
committerrush <rearman@r717.net>
Wed, 1 Jul 2026 18:59:10 +0000 (14:59 -0400)
init.el

diff --git a/init.el b/init.el
index 0c968f9873527e2f6e49b013aee01fdf3f96e5f4..a681510948499eb92c9f77541b8e714f45e6f297 100644 (file)
--- a/init.el
+++ b/init.el
       org-refile-use-outline-path 'file\r
       org-refile-allow-creating-parent-nodes 'confirm)\r
 \r
+(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)) ; open pdfs in emacs\r
+\r
 ;; Agenda settings\r
 \r
   (setq org-agenda-files (append '("~/org/")\r