diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-08-06 20:07:16 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-08-06 20:07:16 -0400 |
commit | 8ccfbdac75d09cf068348c138fe82787e0e8b809 (patch) | |
tree | 137559c7378c2a19be2280b6960476a393120d41 | |
parent | 4ab593e5a3907033ae031ed0ec7250b697c4bc60 (diff) | |
download | emacs.d-8ccfbdac75d09cf068348c138fe82787e0e8b809.tar.gz |
Add current file to org-refile-dwim targets
-rw-r--r-- | lisp/init-org.el | 4 |
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)) |