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 | 200f7ca2d6621a7173ee73bc8e9111a5fde2c07d (patch) | |
| tree | a7da8be8a03151ddb6c9d3d5913fcb2153b89376 /modules/chrono-tools.el | |
| parent | 0afa3fba94157d5e18f9a086e0b67b7cfd2aedf0 (diff) | |
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)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'modules/chrono-tools.el')
0 files changed, 0 insertions, 0 deletions
