* lisp/wdired.el (wdired-abort-changes): Call
`dired-build-subdir-alist' instead of `dired-revert'.
(Bug#63676)
(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"))