[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/guru-mode 9d0aff6 38/42: Refactor a bit guru-init
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/guru-mode 9d0aff6 38/42: Refactor a bit guru-init |
Date: |
Wed, 11 Aug 2021 09:58:32 -0400 (EDT) |
branch: elpa/guru-mode
commit 9d0aff6cda6d3d78d5102f07f813b9fca6f0ab7b
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Refactor a bit guru-init
---
guru-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/guru-mode.el b/guru-mode.el
index 28c42d1..9156041 100644
--- a/guru-mode.el
+++ b/guru-mode.el
@@ -94,10 +94,10 @@ The exact behavior of the lambda depends on the value of
`guru-warn-only'."
"Initialize the guru keybindings."
(dolist (cell guru-affected-bindings-list)
(let ((original-key (car cell))
- (recommended-key (car (cdr cell)))
- (original-binding (car (cdr (cdr cell)))))
+ (recommended-key (cadr cell))
+ (original-binding (caddr cell)))
(define-key guru-mode-map
- (read-kbd-macro (car cell)) (guru-rebind original-key recommended-key
original-binding)))))
+ (read-kbd-macro original-key) (guru-rebind original-key
recommended-key original-binding)))))
;;;###autoload
(define-minor-mode guru-mode
- [nongnu] elpa/guru-mode 8ee0fcb 24/42: Merge pull request #9 from bkruczyk/fix-delete-key-handling, (continued)
- [nongnu] elpa/guru-mode 8ee0fcb 24/42: Merge pull request #9 from bkruczyk/fix-delete-key-handling, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 3274661 36/42: Add a docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 0aadb72 39/42: Add a few badges, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode fcb13d4 42/42: Tweak some wording, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 0f8ba29 28/42: Update the copyright, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 81db561 29/42: Clean up the readme a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 79cd8a3 31/42: Tweak some markup, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 2db006f 32/42: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 051e418 33/42: Make guru-warn-only a defcustom, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 1f50aa9 35/42: [#7] Add a note about modifying the list of keybindings, ELPA Syncer, 2021/08/11
- [nongnu] elpa/guru-mode 9d0aff6 38/42: Refactor a bit guru-init,
ELPA Syncer <=
- [nongnu] elpa/guru-mode 3f5cfcb 41/42: Tweak the README, ELPA Syncer, 2021/08/11