changeset 41092:078a3f1b537a

(dired-undo): Display a message to explain that this does not undo file system changes.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Nov 2001 19:00:15 +0000
parents 418fff19f92e
children 2d0f361fdc89
files lisp/dired.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.