aboutsummaryrefslogtreecommitdiff
path: root/docs
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
commit50cd2204e7d11829c2eac8dabe5361f110a11017 (patch)
tree7762df86332becb5773f117f5ea152167340de4d /docs
parent74375589a57f9755088174d758ffc50685f98286 (diff)
downloaddotemacs-50cd2204e7d11829c2eac8dabe5361f110a11017.tar.gz
dotemacs-50cd2204e7d11829c2eac8dabe5361f110a11017.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 'docs')
0 files changed, 0 insertions, 0 deletions