From 522585c69ee8766fd921d4a778204e1fcfaaf338 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 10 Nov 2016 22:51:55 -0500 Subject: Move km/org-agenda-refile-targets to km-untracked.el --- init.el | 5 +---- lisp/km-org.el | 5 ----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/init.el b/init.el index 8039e1b..82e6c1b 100644 --- a/init.el +++ b/init.el @@ -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))) -- cgit v1.2.3