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 | e0060790c1bcd0bbac156a1566da93465fccdabf (patch) | |
| tree | f9625390a540d5e885989322e26e1c66d679949d /modules/selection-framework.el | |
| parent | ee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719 (diff) | |
| download | dotemacs-e0060790c1bcd0bbac156a1566da93465fccdabf.tar.gz dotemacs-e0060790c1bcd0bbac156a1566da93465fccdabf.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 'modules/selection-framework.el')
0 files changed, 0 insertions, 0 deletions
