diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-11-10 22:51:55 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-11-10 22:52:52 -0500 |
commit | 522585c69ee8766fd921d4a778204e1fcfaaf338 (patch) | |
tree | 7b120b238c77976c663bb1d88947296622235124 | |
parent | dce649b7439346a710fce7860368128af6d452be (diff) | |
download | emacs.d-522585c69ee8766fd921d4a778204e1fcfaaf338.tar.gz |
Move km/org-agenda-refile-targets to km-untracked.el
-rw-r--r-- | init.el | 5 | ||||
-rw-r--r-- | lisp/km-org.el | 5 |
2 files changed, 1 insertions, 9 deletions
@@ -348,10 +348,7 @@ (define-key org-mode-map [remap org-agenda-set-restriction-lock] #'km/org-agenda-set-restriction-lock)) (after 'ox-md - (advice-add 'org-md-paragraph :filter-return #'km/org-md-fill-string)) - :config - (add-to-list 'safe-local-variable-values - (cons 'org-refile-targets km/org-agenda-refile-targets))) + (advice-add 'org-md-paragraph :filter-return #'km/org-md-fill-string))) (use-package poporg :defer t diff --git a/lisp/km-org.el b/lisp/km-org.el index 5360b7c..4805ad5 100644 --- a/lisp/km-org.el +++ b/lisp/km-org.el @@ -451,11 +451,6 @@ displayed in the agenda." ;;; Refiling -(defvar km/org-agenda-refile-targets - '((nil :maxlevel . 3) - (org-agenda-files :maxlevel . 2) - (org-agenda-text-search-extra-files :maxlevel . 2))) - (defun km/org-refile-verify-target () "Exclude DONE state from refile targets." (not (member (nth 2 (org-heading-components)) org-done-keywords))) |