diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-17 03:06:15 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-17 03:06:15 -0600 |
| commit | d2a81456198ec1289ff673b159260cd5ac2cd51f (patch) | |
| tree | c0fcbefa2649cae849adf3ea30793bd04f4a1576 /modules/prog-shell.el | |
| parent | 938047cf7447803353565083240531e4c1f076d2 (diff) | |
| download | dotemacs-d2a81456198ec1289ff673b159260cd5ac2cd51f.tar.gz dotemacs-d2a81456198ec1289ff673b159260cd5ac2cd51f.zip | |
feat(calendar-sync): Add auto-start toggle and convert to defvar
Changes:
1. Converted defcustom → defvar (3 variables):
- calendar-sync-ics-url
- calendar-sync-interval
- calendar-sync-file
- Removed defgroup (not using customize system)
2. Added calendar-sync-auto-start variable (default: t)
- Controls whether auto-sync starts when module loads
- Set to nil to disable automatic startup
3. Updated initialization to check auto-start flag
- Auto-sync only starts if both auto-start and URL are non-nil
- Provides user control over automatic behavior
Rationale:
- Auto-sync is convenient but should be toggleable
- defvar is simpler and more direct than defcustom
- Consistent with project style (no customize interface)
Default behavior: Auto-sync enabled (backwards compatible with user expectation)
Diffstat (limited to 'modules/prog-shell.el')
0 files changed, 0 insertions, 0 deletions
