]> git.eshelyaron.com Git - sweep.git/commitdiff
Do not autoload keymaps
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 3 Aug 2023 19:42:55 +0000 (19:42 +0000)
committerEshel Yaron <me@eshelyaron.com>
Fri, 4 Aug 2023 17:21:10 +0000 (20:21 +0300)
When a keymap is autoloaded (and the definition is copied over to the
-autoloads.el file), and the function are sharp-quoted, Emacs can
complain about undefined symbols, especially in combination with
'package-quickstart'.

sweeprolog.el

index 5a5fe7aca58e0860f180be3663cff666454c60cf..567665d1b12e60b1ae45bd05fe4d80d782618358 100644 (file)
@@ -541,7 +541,6 @@ for top-level buffers that don't belong to any project."
     map)
   "Local keymap for `sweeprolog-top-level-menu-mode' buffers.")
 
-;;;###autoload
 (defvar sweeprolog-help-prefix-map
   (let ((map (make-sparse-keymap)))
     (define-key map "m" #'sweeprolog-describe-module)
@@ -549,7 +548,6 @@ for top-level buffers that don't belong to any project."
     map)
   "Keymap for `sweeprolog' help commands.")
 
-;;;###autoload
 (defvar sweeprolog-prefix-map
   (let ((map (make-sparse-keymap)))
     (define-key map "B" #'sweeprolog-list-breakpoints)