aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2001-11-15 19:02:56 +0000
committerRichard M. Stallman <[email protected]>2001-11-15 19:02:56 +0000
commit16a2f75ab70c1640e7181f91693032b503197051 (patch)
tree2e67ac1edba9239f4ba30f91cb1dd9f1ce04014f /lisp/dired.el
parentbd1190d7050962270c99edef8ab9787d32b28f0e (diff)
(dired-undo): Display a message to explain
that this does not undo file system changes.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 63ccf6f4f8..8ba712adf4 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1305,7 +1305,9 @@ In the latter case, you have to do \\[dired-build-subdir-alist] to
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.