# HG changeset patch # User Richard M. Stallman # Date 1005850815 0 # Node ID 078a3f1b537ad1b3909bb1f19057e1b7c16a5ee3 # Parent 418fff19f92efa900c4f50ca39e15b480d3bf958 (dired-undo): Display a message to explain that this does not undo file system changes. diff -r 418fff19f92e -r 078a3f1b537a lisp/dired.el --- a/lisp/dired.el Thu Nov 15 18:53:38 2001 +0000 +++ b/lisp/dired.el Thu Nov 15 19:00:15 2001 +0000 @@ -1305,7 +1305,9 @@ parse the buffer again." (interactive) (let (buffer-read-only) - (undo))) + (undo) + (message "Change in Dired buffer undone. +Actual changes in files cannot be undone by Emacs."))) (defun dired-next-line (arg) "Move down lines then position at filename.