[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vundo aefb233005 34/58: Fix #9: Disable evil-mode in vu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vundo aefb233005 34/58: Fix #9: Disable evil-mode in vundo-mode |
Date: |
Fri, 15 Apr 2022 12:58:14 -0400 (EDT) |
branch: externals/vundo
commit aefb2330050932b153530674e7e45063f8bc2dd0
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Fix #9: Disable evil-mode in vundo-mode
Evil-mode binds arrow keys which we want vundo to use.
* vundo.el (vundo-mode): Add code to exclude vundo from evil-mode.
---
vundo.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/vundo.el b/vundo.el
index 94b7d03375..fbf371fdb2 100644
--- a/vundo.el
+++ b/vundo.el
@@ -538,7 +538,12 @@ WINDOW is the window that was/is displaying the vundo
buffer."
truncate-lines t
cursor-type nil)
(jit-lock-mode -1)
- (face-remap-add-relative 'default 'vundo-default))
+ (face-remap-add-relative 'default 'vundo-default)
+
+ ;; Disable evil-mode, as normal-mode
+ ;; key bindings override the ones set by vundo.
+ (when (boundp 'evil-emacs-state-modes)
+ (push 'vundo-mode evil-emacs-state-modes)))
(defvar-local vundo--prev-mod-list nil
"Modification list generated by ‘vundo--mod-list-from’.")
- [elpa] externals/vundo 2e23d5cfb6 03/58: * vundo.el (vundo--check-for-command): Add option to kill buffer., (continued)
- [elpa] externals/vundo 2e23d5cfb6 03/58: * vundo.el (vundo--check-for-command): Add option to kill buffer., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 4b6551748b 06/58: * README.txt: New file., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 4fddb2b004 11/58: Use vundo-glyph-alist, and overlay for highlight, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 3a569de421 15/58: * README.txt (Changelog): Recording breaking change, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 39d80d2093 16/58: * README.txt: Add detail and tips., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 24f99e54b2 17/58: Fix face definitions, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 928c60747a 20/58: * test/vundo-test.el (vundo-test--setup): Fix test to use Unicode., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo ac37626525 26/58: Fix test, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 8c0ff18e7f 32/58: * README.txt: Reword comparison., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo a66bb05062 35/58: Merge branch 'pr-evil-mode-disable', ELPA Syncer, 2022/04/15
- [elpa] externals/vundo aefb233005 34/58: Fix #9: Disable evil-mode in vundo-mode,
ELPA Syncer <=
- [elpa] externals/vundo 81d126cfab 22/58: Fix vundo-stem-root and vundo-stem-end, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 429e3a2397 23/58: Format fix, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 42c8e4adc1 28/58: Remove nth in vundo--mod-list-from, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 00e5c4e73c 54/58: * vundo.el (vundo-mode): Avoid duplicates in evil-emacs-state-modes., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 6c15a96fb6 57/58: * test/vundo-test.el (vundo-test--3): Skip this test in batch mode., ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 0e3af84944 47/58: Prepare for publish, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 8067005e53 56/58: Merge branch 'pr-remove-redundant-eqv-list-of', ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 2bb4bc8404 04/58: Fix nodes' face, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo a3e27e84f1 05/58: Add an option that controls the side on which we display vundo window, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 578a9f6be1 10/58: Update tests to accommodate read-only-ness, ELPA Syncer, 2022/04/15