diff options
| author | jao <jao@gnu.org> | 2026-11-18 20:45:21 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-11-18 20:45:21 +0000 |
| commit | e1236d902dd7f7a6cf5a4396ad4074c1e30e7016 (patch) | |
| tree | ccd1e8531589f38c59250fc3603f423f4c5bd96d /attic | |
| parent | 2053144c9c0e68b278d8f3fa8ddf9c34fc81e297 (diff) | |
| download | elibs-e1236d902dd7f7a6cf5a4396ad4074c1e30e7016.tar.gz elibs-e1236d902dd7f7a6cf5a4396ad4074c1e30e7016.tar.bz2 | |
shuffling code aroundmain
Diffstat (limited to 'attic')
| -rw-r--r-- | attic/elisp/misc.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 1668251..14cd56a 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -1362,3 +1362,15 @@ It should be the title of the web page as returned by `rdrview'" (when-let* ((url (or (get-text-property (point) 'w3m-href-anchor) (thing-at-point-url-at-point)))) (browse-url url))) +;;; repeat map for window ops +(defvar jao-prev-window-repeat-map + (let ((map (make-sparse-keymap))) + (define-key map "p" 'jao-prev-window) + (define-key map "P" (lambda () + (interactive) + (setq repeat-map 'jao-prev-window-repeat-map) + (other-window 1))) + map) + "Keymap to repeat `prev-window' key sequences. Used in `repeat-mode'.") + +(put 'jao-prev-window 'repeat-map jao-prev-window-repeat-map) |
