Function: dired-undo
dired-undo is an interactive and byte-compiled function defined in
dired.el.gz.
Signature
(dired-undo)
Documentation
Undo in a Dired buffer.
This doesn't recover lost files, it just undoes changes in the buffer itself. You can use it to recover marks, killed lines or subdirs.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-undo ()
"Undo in a Dired buffer.
This doesn't recover lost files, it just undoes changes in the buffer itself.
You can use it to recover marks, killed lines or subdirs."
(interactive)
(let ((inhibit-read-only t))
(undo))
(dired-build-subdir-alist)
(message "Change in Dired buffer undone.
Actual changes in files cannot be undone by Emacs."))