]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-next-line, dired-previous-line): Use forward-line.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:00:00 +0000 (16:00 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:00:00 +0000 (16:00 +0000)
lisp/ChangeLog
lisp/dired.el

index b469883c4ccc35970ed4748fac2f45f8249012a5..48774e389580994c56ef68296033ffbba22d6648 100644 (file)
@@ -1,6 +1,7 @@
 2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
 
        * textmodes/artist.el (artist-previous-line, artist-next-line):
+       * dired.el (dired-next-line, dired-previous-line):
        Use forward-line.
 
 2007-10-18  Juanma Barranquero  <lekktu@gmail.com>
index 7bdb195543aa858de92824312b6a9be34ed92f17..16b53acb6da8ed1f72f7c04ff46008169f683c0a 100644 (file)
@@ -1682,14 +1682,14 @@ Otherwise, for buffers inheriting from dired-mode, call `toggle-read-only'."
   "Move down lines then position at filename.
 Optional prefix ARG says how many lines to move; default is one line."
   (interactive "p")
-  (next-line arg)
+  (forward-line arg)
   (dired-move-to-filename))
 
 (defun dired-previous-line (arg)
   "Move up lines then position at filename.
 Optional prefix ARG says how many lines to move; default is one line."
   (interactive "p")
-  (previous-line arg)
+  (forward-line (- arg))
   (dired-move-to-filename))
 
 (defun dired-next-dirline (arg &optional opoint)