[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vundo 1da75782e0 13/58: Remove inhibit-modification-hoo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vundo 1da75782e0 13/58: Remove inhibit-modification-hooks |
Date: |
Fri, 15 Apr 2022 12:58:11 -0400 (EDT) |
branch: externals/vundo
commit 1da75782e06a2febdd81c698d9ea15597e6102ba
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Remove inhibit-modification-hooks
* vundo.el (vundo-quit, vundo-confirm, vundo--move-to-node): Remove.
---
vundo.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/vundo.el b/vundo.el
index df72ed8dbc..acd56deedc 100644
--- a/vundo.el
+++ b/vundo.el
@@ -658,16 +658,14 @@ Roll back changes if `vundo-roll-back-on-quit' is
non-nil."
vundo--roll-back-to-this
vundo--orig-buffer vundo--prev-mod-list))
(with-current-buffer vundo--orig-buffer
- (setq-local inhibit-modification-hooks nil
- buffer-read-only nil))
+ (setq-local buffer-read-only nil))
(kill-buffer-and-window)))
(defun vundo-confirm ()
"Confirm change and close vundo window."
(interactive)
(with-current-buffer vundo--orig-buffer
- (setq-local inhibit-modification-hooks nil
- buffer-read-only nil))
+ (setq-local buffer-read-only nil))
(kill-buffer-and-window))
;;; Traverse undo tree
@@ -748,8 +746,7 @@ after calling this function."
undo-list-at-source undo-list-at-dest))
trimmed)
(with-current-buffer orig-buffer
- (setq-local inhibit-modification-hooks t
- buffer-read-only t)
+ (setq-local buffer-read-only t)
;; 2. Undo. This will undo modifications in PLANNED-UNDO and
;; add new entries to ‘buffer-undo-list’.
(let ((undo-in-progress t))
- [elpa] branch externals/vundo created (now 377194b705), ELPA Syncer, 2022/04/15
- [elpa] externals/vundo 1da75782e0 13/58: Remove inhibit-modification-hooks,
ELPA Syncer <=
- [elpa] externals/vundo 5373b94737 02/58: Add tests, ELPA Syncer, 2022/04/15
- [elpa] externals/vundo c92f6a1f3f 08/58: Prevent others from muddling the buffer, ELPA Syncer, 2022/04/15
- [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