[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/hyperbole e6fb782621 11/15: * hycontrol.el (hycontrol-win
|
From: |
Stefan Monnier |
|
Subject: |
[elpa] scratch/hyperbole e6fb782621 11/15: * hycontrol.el (hycontrol-windows-mode-map): Don't autoload |
|
Date: |
Tue, 2 May 2023 00:26:06 -0400 (EDT) |
branch: scratch/hyperbole
commit e6fb78262169e82d96c579d3515dc42b16de6e23
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* hycontrol.el (hycontrol-windows-mode-map): Don't autoload
Copying this whole keymap definition to `hyperbole-autoloads.el` just
slows down startup unnecessarily.
---
hycontrol.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/hycontrol.el b/hycontrol.el
index 88139e0684..f164619014 100644
--- a/hycontrol.el
+++ b/hycontrol.el
@@ -359,7 +359,7 @@ The final predicate should always be t, for default values,
typically of zero.")
;;;###autoload
(eval-after-load "dired" '(define-key dired-mode-map "@"
'hycontrol-windows-grid))
-;;;###autoload
+
(defvar hycontrol-windows-mode-map
(let ((map (make-sparse-keymap)))
(suppress-keymap map t) ;; Disable self-inserting keys and prefix keys
@@ -428,11 +428,11 @@ The final predicate should always be t, for default
values, typically of zero.")
;; Don't call these interactively because a prefix arg of 1 tries
;; to make one window 1 line tall.
- (define-key map "\[" (lambda () (interactive)
(split-window-vertically)))
- (define-key map "\]" (lambda () (interactive)
(split-window-horizontally)))
+ (define-key map "[" (lambda () (interactive) (split-window-vertically)))
+ (define-key map "]" (lambda () (interactive)
(split-window-horizontally)))
- (define-key map "\(" 'hycontrol-save-frame-configuration)
- (define-key map "\)" 'hycontrol-restore-frame-configuration)
+ (define-key map "(" 'hycontrol-save-frame-configuration)
+ (define-key map ")" 'hycontrol-restore-frame-configuration)
(define-key map "~" (lambda () (interactive)
(unless (hycontrol-window-swap-buffers)
- [elpa] scratch/hyperbole ba352bce93 14/15: Fix a few minor miscompilations and warnings, (continued)
- [elpa] scratch/hyperbole ba352bce93 14/15: Fix a few minor miscompilations and warnings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole fdd704bf20 13/15: (man-show): Fix miscompilation, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 538590efcc 06/15: Fix compilation of test file, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 25e0fed3bb 12/15: * hui-select.el: Fix a few warnings and improve some docstrings, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 02bf28e5cd 03/15: Try and avoid using `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 2a58ece547 01/15: * hload-path.el (hyperb:dir): Use `macroexp-file-name`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 31e1c06f46 05/15: Get rid of `hyperb:stack-frame`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 73f076d5ad 08/15: * hact.el: Fix broken lexical-binding cookie, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole 8166bb40bf 09/15: * hyperbole.el: Preload `kotl-autoloads`, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole c10536751a 10/15: hyperbole-autoloads.el: Remove needless definitions, Stefan Monnier, 2023/05/02
- [elpa] scratch/hyperbole e6fb782621 11/15: * hycontrol.el (hycontrol-windows-mode-map): Don't autoload,
Stefan Monnier <=
- [elpa] scratch/hyperbole 0abc388edb 15/15: * hyrolo.el: A few cosmetic tweaks, Stefan Monnier, 2023/05/02