diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 12:06:37 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 12:06:37 -0400 |
| commit | 2b257d426f5e98219cdd6ac191d259b74a31d87e (patch) | |
| tree | 6a8c62ec5231a679d4faa10fc187795d5f00f547 /scripts/theme-studio/test_generate.py | |
| parent | d96a162db3be25cb812d08a10c831baa2790c492 (diff) | |
| download | dotemacs-2b257d426f5e98219cdd6ac191d259b74a31d87e.tar.gz dotemacs-2b257d426f5e98219cdd6ac191d259b74a31d87e.zip | |
refactor(mail-config): build the account-nav keymaps from one template
The cmail/dmail/gmail navigation maps were three near-identical defvar-keymap blocks differing only by maildir prefix, with the unread/flagged/large query clauses repeated in each. Add cj/--mail-account-search-queries (account -> the four search strings) and cj/--mail-make-account-map (builds the keymap), wrapped in eval-and-compile so org-msg's :preface can call the builder during byte-compilation. The three maps become one-line builder calls. Adds direct coverage of the query strings and the per-account closures.
Diffstat (limited to 'scripts/theme-studio/test_generate.py')
0 files changed, 0 insertions, 0 deletions
