[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/dired.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/dired.el [lexbind] |
Date: |
Tue, 06 Jul 2004 05:56:21 -0400 |
Index: emacs/lisp/dired.el
diff -c emacs/lisp/dired.el:1.230.2.12 emacs/lisp/dired.el:1.230.2.13
*** emacs/lisp/dired.el:1.230.2.12 Tue Jul 6 09:44:43 2004
--- emacs/lisp/dired.el Tue Jul 6 09:47:52 2004
***************
*** 1448,1461 ****
(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.
! In the latter case, you have to do \\[dired-build-subdir-alist] to
! parse the buffer again."
(interactive)
(let (buffer-read-only)
! (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.
--- 1448,1460 ----
(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 (buffer-read-only)
! (undo))
! (dired-build-subdir-alist)
! (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.