Fix cancellation of Wdired
* lisp/wdired.el (wdired-abort-changes): Call 'dired-revert'. Patch by Stephen Berman <stephen.berman@gmx.net>. (Bug#63676)
This commit is contained in:
@@ -470,6 +470,9 @@ 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)
|
||||
(set-buffer-modified-p nil)
|
||||
(setq buffer-undo-list nil)
|
||||
(message "Changes aborted"))
|
||||
|
||||
Reference in New Issue
Block a user