I'm trying to add a new file foo.org
and delete an old bar.org
from the org-refile-target
variable. So doing
(setq org-refile-targets (quote (("~/foo.org" :maxlevel . 2))
should work by replacing the former
(setq org-refile-targets (quote (("~/bar.org" :maxlevel . 2))
However, if I run the new code (i.e., the first line above), then the fix only works in the current session. Upon re-start changes are lost.
And even in the current session, if I do C-h v org-refile-target
I see the changes under the Value
heading. But the old settings are under the headings saved-value
and theme-value
. How come?
By the way, previously I was using
(custom-set-variables
'(org-refile-targets '(("~/foo.org" :maxlevel . 2)
with the same result. Plus I don't have a custom
file that loads on Emacs's startup.
I've tried org-refile-cache-clear
to no avail... so where on earth are the old settings stored and how can I override them?? Is setq-default
the answer? (just tested and it is not the answer)