mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(dired-next-line, dired-previous-line): Use forward-line.
This commit is contained in:
parent
cb7bddf661
commit
e82a724f61
@ -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>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user