diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-11-16 03:18:49 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-11-16 03:18:49 +0000 |
commit | 4dc2bd4d48e55856dc1e3bea9f1d04b8ed352f5d (patch) | |
tree | 16a9be62b0a7033decc75632ae8c8a261fffbc8f /lisp/emulation/tpu-extras.el | |
parent | cc39740b6e28432c3bc4a2b61d04a411ce3b41ed (diff) | |
download | emacs-4dc2bd4d48e55856dc1e3bea9f1d04b8ed352f5d.tar.gz |
(tpu-next-line, tpu-previous-line, tpu-forward-line, tpu-backward-line)
(tpu-scroll-window-down, tpu-scroll-window-up):
Replace next-line-internal -> line-move.
Diffstat (limited to 'lisp/emulation/tpu-extras.el')
-rw-r--r-- | lisp/emulation/tpu-extras.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index 609ce2e203b..a98a5ea56b4 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el @@ -196,7 +196,7 @@ Prefix argument serves as a repeat count." (interactive "p") (let ((beg (tpu-current-line))) (if tpu-cursor-free (or (eobp) (picture-move-down num)) - (next-line-internal num)) + (line-move num)) (tpu-bottom-check beg num) (setq this-command 'next-line))) @@ -205,7 +205,7 @@ Prefix argument serves as a repeat count." Prefix argument serves as a repeat count." (interactive "p") (let ((beg (tpu-current-line))) - (if tpu-cursor-free (picture-move-up num) (next-line-internal (- num))) + (if tpu-cursor-free (picture-move-up num) (line-move (- num))) (tpu-top-check beg num) (setq this-command 'previous-line))) @@ -256,7 +256,7 @@ Accepts a prefix argument for the number of lines to move." Prefix argument serves as a repeat count." (interactive "p") (let ((beg (tpu-current-line))) - (next-line-internal num) + (line-move num) (tpu-bottom-check beg num) (beginning-of-line))) @@ -266,7 +266,7 @@ Prefix argument serves as repeat count." (interactive "p") (let ((beg (tpu-current-line))) (or (bolp) (>= 0 num) (setq num (- num 1))) - (next-line-internal (- num)) + (line-move (- num)) (tpu-top-check beg num) (beginning-of-line))) @@ -346,7 +346,7 @@ A repeat count means scroll that many sections." (let* ((beg (tpu-current-line)) (height (1- (window-height))) (lines (* num (/ (* height tpu-percent-scroll) 100)))) - (next-line-internal (- lines)) + (line-move (- lines)) (tpu-top-check beg lines))) (defun tpu-scroll-window-up (num) @@ -356,7 +356,7 @@ A repeat count means scroll that many sections." (let* ((beg (tpu-current-line)) (height (1- (window-height))) (lines (* num (/ (* height tpu-percent-scroll) 100)))) - (next-line-internal lines) + (line-move lines) (tpu-bottom-check beg lines))) |