1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(wdired-next-line, wdired-previous-line): Use

next-line and previous-line wrapped in with-no-warnings.
This commit is contained in:
Martin Rudalics 2007-10-29 06:48:22 +00:00
parent a0a5c58300
commit e9283e70e6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-10-29 Martin Rudalics <rudalics@gmx.at>
* wdired.el (wdired-next-line, wdired-previous-line): Use
next-line and previous-line wrapped in with-no-warnings.
2007-10-29 Ryan Yeske <rcyeske@gmail.com>
* net/rcirc.el (rcirc-server-alist): Use coloned symbols for

View File

@ -499,7 +499,7 @@ Optional arguments are ignored."
See `wdired-use-dired-vertical-movement'. Optional prefix ARG
says how many lines to move; default is one line."
(interactive "p")
(forward-line arg)
(with-no-warnings (next-line arg))
(if (or (eq wdired-use-dired-vertical-movement t)
(and wdired-use-dired-vertical-movement
(< (current-column)
@ -512,7 +512,7 @@ says how many lines to move; default is one line."
See `wdired-use-dired-vertical-movement'. Optional prefix ARG
says how many lines to move; default is one line."
(interactive "p")
(forward-line (- arg))
(with-no-warnings (previous-line arg))
(if (or (eq wdired-use-dired-vertical-movement t)
(and wdired-use-dired-vertical-movement
(< (current-column)