emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/dired.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/dired.el
Date: Mon, 07 Jun 2004 14:26:55 -0400

Index: emacs/lisp/dired.el
diff -c emacs/lisp/dired.el:1.287 emacs/lisp/dired.el:1.288
*** emacs/lisp/dired.el:1.287   Sun Jun  6 02:22:41 2004
--- emacs/lisp/dired.el Mon Jun  7 18:25:46 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]