summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-org.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 8b2fc76..ee1f978 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -258,7 +258,9 @@ be restored properly."
A target is determined by `km/org-refile-dwim-target-file'."
(let* ((dwim-target (km/org-refile-dwim-target-file))
(org-refile-targets (if dwim-target
- `((dwim-target
+ `((nil
+ :maxlevel . ,km/org-refile-dwim-maxlevel)
+ (dwim-target
:maxlevel . ,km/org-refile-dwim-maxlevel))
org-refile-targets)))
ad-do-it))