diff options
author | Martin Rudalics <rudalics@gmx.at> | 2007-10-29 06:48:22 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2007-10-29 06:48:22 +0000 |
commit | e9283e70e6bf5ac82ee581bbae7cbb8d6a75525d (patch) | |
tree | 86709a2ca90b9df800bf2ef7d7f6c7aa4ab19b47 /lisp/wdired.el | |
parent | a0a5c58300837060a660edc571a1ced2cc3fd4c6 (diff) | |
download | emacs-e9283e70e6bf5ac82ee581bbae7cbb8d6a75525d.tar.gz |
(wdired-next-line, wdired-previous-line): Use
next-line and previous-line wrapped in with-no-warnings.
Diffstat (limited to 'lisp/wdired.el')
-rw-r--r-- | lisp/wdired.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/wdired.el b/lisp/wdired.el index 0c75592bd03..25798cce64e 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -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) |