From c9dd0ffea58a04b1887646674432b744aecc009a Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Fri, 11 Jul 2025 19:32:46 +0100 Subject: Fix load org-refile error --- emacs-config.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs-config.org b/emacs-config.org index 889d0f3..fb7f151 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -1438,8 +1438,9 @@ Display filename on refile target and enable instant completion. Increase refile depth for current buffer and agenda files. #+begin_src elisp - (cl-pushnew '(nil :maxlevel . 9) org-refile-targets) - (cl-pushnew '(org-agenda-files :maxlevel . 9) org-refile-targets) + (with-eval-after-load 'org-refile + (cl-pushnew '(nil :maxlevel . 9) org-refile-targets) + (cl-pushnew '(org-agenda-files :maxlevel . 9) org-refile-targets)) #+end_src ** Diff-mode -- cgit