Mercurial > emacs
changeset 85747:6a503e26cfe8
(wdired-next-line, wdired-previous-line): Use
next-line and previous-line wrapped in with-no-warnings.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Mon, 29 Oct 2007 06:47:55 +0000 |
parents | 2761adbcaf59 |
children | 4993adc4f8b5 |
files | lisp/wdired.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/wdired.el Mon Oct 29 01:24:59 2007 +0000 +++ b/lisp/wdired.el Mon Oct 29 06:47:55 2007 +0000 @@ -499,7 +499,7 @@ 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 @@ 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)