0

Pressing C-h v I can see the value of this variable. In my init.el I've commented out this variable assignment: ;;(setq org-agenda-files '( "~/org/*.org")), and restarted Emacs.

But if I then try C-h v, it says the value still has all the folders that were included before). Is this variable set in some other place? How can it be already be set if I've commented the code that does it?

7
  • The question, and what you're actually doing, are unclear. Please provide a recipe to reproduce the problem, starting from emacs -Q (no init file).
    – Drew
    Commented Jan 26, 2023 at 15:16
  • 1
    These details belong in the question: please edit the question and add them. Comments are for us to ask clarification questions of you: you should answer such comments by editing the question which has to be complete on its own. Comments are not searchable and can be deleted.
    – NickD
    Commented Jan 26, 2023 at 15:50
  • 1
    If you don't set it during initialization (e.g. when you start with emacs -Q), org-agenda-files should be nil. If not, you might be doing something wrong, or your distro might be doing something wrong: it's hard to tell without more experiments and additional details.
    – NickD
    Commented Jan 26, 2023 at 16:01
  • ok, How can I definitely clear my org-agenda-file variable?
    – RenatoP
    Commented Jan 26, 2023 at 16:27
  • how can I definitely clear org-agenda-files? this entry on init.el seem not working (setq org-agenda-files '( ""))
    – RenatoP
    Commented Jan 26, 2023 at 16:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.