summaryrefslogtreecommitdiff
path: root/modules/prog-webdev.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 19:00:36 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 19:00:36 -0500
commit4692f06a1f1a31efc7af88cff20b53863596be7e (patch)
treeca56aa5f6491803ebcefa0cd44a302d13a57a6d4 /modules/prog-webdev.el
parent71b58af935f849b2abd64d1f36d930af9b70cbe5 (diff)
downloaddotemacs-4692f06a1f1a31efc7af88cff20b53863596be7e.tar.gz
dotemacs-4692f06a1f1a31efc7af88cff20b53863596be7e.zip
refactor(dashboard): derive the navigator and keybindings from one launcher table
The 12 dashboard launchers were inlined twice (once as navigator icon buttons, once as dashboard-mode-map keybindings), so adding or reordering one meant editing both lists, and the icon-row order could drift from the key order. I pulled them into a single cj/dashboard--launchers table of (KEY ICON-FN ICON-NAME LABEL TOOLTIP ACTION) tuples. cj/dashboard--navigator-rows chunks it four per row into the navigator buttons, and cj/dashboard--bind-launchers binds each key to its action. The icons and the keys now come from one place, with no behavior change: same icons, labels, order, and keys, locked by tests.
Diffstat (limited to 'modules/prog-webdev.el')
0 files changed, 0 insertions, 0 deletions