summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-20 09:04:47 -0500
committerCraig Jennings <c@cjennings.net>2025-10-20 09:04:47 -0500
commit97134d631ec43b57827006ffebde0f85992fff47 (patch)
tree291f01f4e356eb706d4ec5e2d946c775f20fc1b7
parent8f1359b95ef43680c5fe04991efb08b51402d5e3 (diff)
fix: custom-misc: correct custom-keymap evaluation
Changed the evaluation of `cj/custom-keymap` to use `defvar` for proper reference, fixing potential issues in compilation without requiring 'keybindings'.
-rw-r--r--modules/custom-misc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/custom-misc.el b/modules/custom-misc.el
index 0e5e5791..8aa6d9c9 100644
--- a/modules/custom-misc.el
+++ b/modules/custom-misc.el
@@ -14,8 +14,8 @@
;;
;;; Code:
-(eval-when-compile (require 'keybindings)) ;; for custom-keymap
-
+;; cj/custom-keymap defined in keybindings.el
+(eval-when-compile (defvar cj/custom-keymap))
(defun cj/jump-to-matching-paren ()
"Jump to the matching delimiter if point is on (or just after) one.