diff options
| author | Blake Romero <blake@blkrom.com> | 2025-07-11 19:32:46 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-07-11 19:32:46 +0100 |
| commit | c9dd0ffea58a04b1887646674432b744aecc009a (patch) | |
| tree | 9b84dd8afbec55cbad8812b9b00c392b518c7201 | |
| parent | 15be94a08ae5f55510bf065d0594f62033fffdf1 (diff) | |
Fix load org-refile error
| -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 |
