diff options
| author | Martin Rudalics | 2007-10-29 06:48:22 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2007-10-29 06:48:22 +0000 |
| commit | e9283e70e6bf5ac82ee581bbae7cbb8d6a75525d (patch) | |
| tree | 86709a2ca90b9df800bf2ef7d7f6c7aa4ab19b47 | |
| parent | a0a5c58300837060a660edc571a1ced2cc3fd4c6 (diff) | |
| download | emacs-e9283e70e6bf5ac82ee581bbae7cbb8d6a75525d.tar.gz emacs-e9283e70e6bf5ac82ee581bbae7cbb8d6a75525d.zip | |
(wdired-next-line, wdired-previous-line): Use
next-line and previous-line wrapped in with-no-warnings.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/wdired.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 78091c144b1..3787bf7f431 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-10-29 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * wdired.el (wdired-next-line, wdired-previous-line): Use | ||
| 4 | next-line and previous-line wrapped in with-no-warnings. | ||
| 5 | |||
| 1 | 2007-10-29 Ryan Yeske <rcyeske@gmail.com> | 6 | 2007-10-29 Ryan Yeske <rcyeske@gmail.com> |
| 2 | 7 | ||
| 3 | * net/rcirc.el (rcirc-server-alist): Use coloned symbols for | 8 | * net/rcirc.el (rcirc-server-alist): Use coloned symbols for |
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." | |||
| 499 | See `wdired-use-dired-vertical-movement'. Optional prefix ARG | 499 | See `wdired-use-dired-vertical-movement'. Optional prefix ARG |
| 500 | says how many lines to move; default is one line." | 500 | says how many lines to move; default is one line." |
| 501 | (interactive "p") | 501 | (interactive "p") |
| 502 | (forward-line arg) | 502 | (with-no-warnings (next-line arg)) |
| 503 | (if (or (eq wdired-use-dired-vertical-movement t) | 503 | (if (or (eq wdired-use-dired-vertical-movement t) |
| 504 | (and wdired-use-dired-vertical-movement | 504 | (and wdired-use-dired-vertical-movement |
| 505 | (< (current-column) | 505 | (< (current-column) |
| @@ -512,7 +512,7 @@ says how many lines to move; default is one line." | |||
| 512 | See `wdired-use-dired-vertical-movement'. Optional prefix ARG | 512 | See `wdired-use-dired-vertical-movement'. Optional prefix ARG |
| 513 | says how many lines to move; default is one line." | 513 | says how many lines to move; default is one line." |
| 514 | (interactive "p") | 514 | (interactive "p") |
| 515 | (forward-line (- arg)) | 515 | (with-no-warnings (previous-line arg)) |
| 516 | (if (or (eq wdired-use-dired-vertical-movement t) | 516 | (if (or (eq wdired-use-dired-vertical-movement t) |
| 517 | (and wdired-use-dired-vertical-movement | 517 | (and wdired-use-dired-vertical-movement |
| 518 | (< (current-column) | 518 | (< (current-column) |