summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-20 09:03:26 -0500
committerCraig Jennings <c@cjennings.net>2025-10-20 09:03:26 -0500
commitc409669179b1b370988f97f95af59e1ebdc514eb (patch)
tree6b7c3d1afc35bb6270d9d7863aadee9f2da39887
parent9c7309f2c5b4e14d792e722b1ead6220bedc5299 (diff)
fix(custom-case): Correct eval-when-compile for custom-keymap
Address an issue by defining `cj/custom-keymap` within eval-when-compile, ensuring proper compilation without loading the whole damn `keybindings` file.
-rw-r--r--modules/custom-case.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/custom-case.el b/modules/custom-case.el
index 2a87155b..ca5563b2 100644
--- a/modules/custom-case.el
+++ b/modules/custom-case.el
@@ -16,7 +16,7 @@
;;
;;; Code:
-(eval-when-compile (require 'keybindings))
+(eval-when-compile (defvar cj/custom-keymap)) ;; cj/custom-keymap defined in keybindings.el
(defun cj/upcase-dwim ()
"Upcase the active region, or upcase the symbol at point if no region."