aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/app.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 12:06:37 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 12:06:37 -0400
commit2b257d426f5e98219cdd6ac191d259b74a31d87e (patch)
tree6a8c62ec5231a679d4faa10fc187795d5f00f547 /scripts/theme-studio/app.js
parentd96a162db3be25cb812d08a10c831baa2790c492 (diff)
downloaddotemacs-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/app.js')
0 files changed, 0 insertions, 0 deletions