diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-27 16:37:16 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-27 16:37:16 -0500 |
| commit | e52ea6a999a633e698757098328e763e2a10f69c (patch) | |
| tree | 6f453a05d8dbe6888c7ec172f585dcc1f91dbeca /tests/test-system-lib-executable-exists-p.el | |
| parent | bb353d9f2a41caa596e4b535514325a46095d111 (diff) | |
| download | dotemacs-e52ea6a999a633e698757098328e763e2a10f69c.tar.gz dotemacs-e52ea6a999a633e698757098328e763e2a10f69c.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 'tests/test-system-lib-executable-exists-p.el')
0 files changed, 0 insertions, 0 deletions
