diff options
Diffstat (limited to 'lisp/emulation/edt.el')
-rw-r--r-- | lisp/emulation/edt.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index fe84916b443..a14ac3039f9 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el @@ -628,7 +628,8 @@ Argument NUM is the number of lines to move." (interactive "p") (edt-check-prefix num) (let ((beg (edt-current-line))) - (forward-line num) + ;; We're deliberately using next-line instead of forward-line. + (with-no-warnings (next-line num)) (edt-bottom-check beg num)) (if (featurep 'xemacs) (setq zmacs-region-stays t))) @@ -638,7 +639,8 @@ Argument NUM is the number of lines to move." (interactive "p") (edt-check-prefix num) (let ((beg (edt-current-line))) - (forward-line (- num)) + ;; We're deliberately using previous-line instead of forward-line. + (with-no-warnings (previous-line num)) (edt-top-check beg num)) (if (featurep 'xemacs) (setq zmacs-region-stays t))) |