diff options
| -rw-r--r-- | emacs-config.org | 5 |
1 files 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 |
