Srinivas
Srinivas

Reputation: 737

org-refile is always returning with the message no refile targets

Even though I have org files in my org-agenda-files, org-refile is saying no refile targets. org-cycle-agenda-files is actually cycling between org files. so i guess the org-agenda-files is proper. can someone help me understand what i am missing here?

Upvotes: 2

Views: 2253

Answers (1)

itirazimvar
itirazimvar

Reputation: 929

A code block from Steve Purcell's .emacs.d which is solve that problem

; Targets include this file and any file contributing to the agenda - up to 5 levels deep
(setq org-refile-targets '((nil :maxlevel . 5) (org-agenda-files :maxlevel . 5)))

Upvotes: 1

Related Questions