aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-email.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-27 16:37:16 -0500
committerCraig Jennings <c@cjennings.net>2026-04-27 16:37:16 -0500
commiteb6425f74959c181fb4514f6e0dd167603d4648f (patch)
tree6f453a05d8dbe6888c7ec172f585dcc1f91dbeca /scripts/setup-email.sh
parent31ca4db2a05ab7694a66d97ce2e788861534f47d (diff)
downloaddotemacs-eb6425f74959c181fb4514f6e0dd167603d4648f.tar.gz
dotemacs-eb6425f74959c181fb4514f6e0dd167603d4648f.zip
fix(mail): default cj/custom-keymap so the file byte-compiles standalone
cj/custom-keymap is defined in keybindings.el, which init.el loads before mail-config.el. The use-package org-msg :preface block calls keymap-set on it, and use-package wraps :preface in eval-and-compile. So byte-compiling mail-config.el on its own tries to call keymap-set when cj/custom-keymap is still void. Wrapping a defvar with a make-sparse-keymap default in eval-and-compile gives the symbol a value during compilation. At runtime keybindings.el has already populated the real keymap, so defvar does nothing.
Diffstat (limited to 'scripts/setup-email.sh')
0 files changed, 0 insertions, 0 deletions