aboutsummaryrefslogtreecommitdiff
path: root/modules
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
commit61c8619df195bb3d74107894dd1c86c99dcdd83b (patch)
tree344887c6ea39cdf79b72ba77fd9d5cab281b1360 /modules
parent9b6f714becaa93a31bb9cd33878296ada7d91d6e (diff)
downloaddotemacs-61c8619df195bb3d74107894dd1c86c99dcdd83b.tar.gz
dotemacs-61c8619df195bb3d74107894dd1c86c99dcdd83b.zip
fix: custom-file-buffer: Declare cj/custom-keymap for compilation
Declare `cj/custom-keymap` variable to prevent compilation warnings related to undefined keymaps.
Diffstat (limited to 'modules')
-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 6ec958f05..1a3a0d686 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")