From dd9442e4510c2916279117b0b98a885ce7a5da82 Mon Sep 17 00:00:00 2001 From: rush Date: Tue, 7 Jul 2026 17:02:58 -0400 Subject: [PATCH] fix adding to list before it is loaded --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 9079bff..b7af2a4 100644 --- a/init.el +++ b/init.el @@ -214,7 +214,8 @@ org-refile-use-outline-path 'file org-refile-allow-creating-parent-nodes 'confirm) -(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs)) ; open pdfs in emacs +(with-eval-after-load 'org + (add-to-list 'org-file-apps '("\\.pdf\\'" . emacs))) ; open pdfs in emacs ;; Agenda settings -- 2.39.5