summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-20 09:04:22 -0500
committerCraig Jennings <c@cjennings.net>2025-10-20 09:04:22 -0500
commit8f1359b95ef43680c5fe04991efb08b51402d5e3 (patch)
treeee12896b28318372f481ed4f0d1762d5250ead45
parent5ce97abd915199c065644f2e55adf5a7bc6ebbdd (diff)
fix: custom-file-buffer: Declare cj/custom-keymap for compilation
Declare `cj/custom-keymap` variable to prevent compilation warnings related to undefined keymaps.
-rw-r--r--modules/custom-file-buffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/custom-file-buffer.el b/modules/custom-file-buffer.el
index 6ec958f0..1a3a0d68 100644
--- a/modules/custom-file-buffer.el
+++ b/modules/custom-file-buffer.el
@@ -16,7 +16,8 @@
;;
;;; Code:
-(eval-when-compile (require 'keybindings)) ;; for custom-keymap
+;; cj/custom-keymap defined in keybindings.el
+(eval-when-compile (defvar cj/custom-keymap))
(eval-when-compile (require 'ps-print)) ;; for ps-print variables
(declare-function ps-print-buffer-with-faces "ps-print")
(declare-function ps-print-region-with-faces "ps-print")