At the bottom of the standard .spacemacs
file, there is a section for custom configuration generated variables. The sections looks like:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-agenda-files ...)
...
)
Spacemacs
had automatically populated this custom variable with the locations of my org-agenda
files when I initially set it up. However, I had to move my org-agenda files to a new directory, so the file paths in that variable are now invalid.
After moving the files, Spacemacs
kept asking if I wanted to remove the old file paths from the org-agenda-files
, but then it just left me with the setting '(org-agenda-files nil)
Is there a command or key shortcut that will force Spacemacs to update the paths in this custom-set-variables
section. I see that Spacemacs
periodically does change some of these setting, however I have not found a consistent activity that forces this regeneration. I tried to add and remove packages from the config, but that did not seem to work.
Any ideas?