[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 3be33aff963: A better fix for "Fix cancellation of Wdired"
From: |
Eli Zaretskii |
Subject: |
emacs-29 3be33aff963: A better fix for "Fix cancellation of Wdired" |
Date: |
Sun, 28 May 2023 02:38:03 -0400 (EDT) |
branch: emacs-29
commit 3be33aff9638daf0012e339b19906581befb0247
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Eli Zaretskii <eliz@gnu.org>
A better fix for "Fix cancellation of Wdired"
* lisp/wdired.el (wdired-abort-changes): Call
`dired-build-subdir-alist' instead of `dired-revert'.
(Bug#63676)
---
lisp/wdired.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/wdired.el b/lisp/wdired.el
index 9952da71078..5c745cc9aab 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -470,9 +470,8 @@ non-nil means return old filename."
(insert wdired--old-content)
(goto-char wdired--old-point))
(wdired-change-to-dired-mode)
- ;; Make sure the display is in synch, and all the variables are set
- ;; correctly.
- (dired-revert)
+ ;; Update markers in `dired-subdir-alist'
+ (dired-build-subdir-alist)
(set-buffer-modified-p nil)
(setq buffer-undo-list nil)
(message "Changes aborted"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 3be33aff963: A better fix for "Fix cancellation of Wdired",
Eli Zaretskii <=