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)
This commit is contained in:
parent
756244c696
commit
3be33aff96
1 changed files with 2 additions and 3 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue