# HG changeset patch # User Stefan Monnier # Date 1195183129 0 # Node ID ced2db270723c708945877d35d46095a643d7df5 # Parent 855c06f0c064d42c323cc4d5af5a9f82ce19e7ad (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. diff -r 855c06f0c064 -r ced2db270723 lisp/ChangeLog --- a/lisp/ChangeLog Fri Nov 16 03:16:32 2007 +0000 +++ b/lisp/ChangeLog Fri Nov 16 03:18:49 2007 +0000 @@ -1,3 +1,9 @@ +2007-11-16 Rob Riepel + + * emulation/tpu-extras.el (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. + 2007-11-16 Stefan Monnier * pcvs-parse.el (cvs-parse-table): Ignore errors when looking up files diff -r 855c06f0c064 -r ced2db270723 lisp/emulation/tpu-extras.el --- a/lisp/emulation/tpu-extras.el Fri Nov 16 03:16:32 2007 +0000 +++ b/lisp/emulation/tpu-extras.el Fri Nov 16 03:18:49 2007 +0000 @@ -196,7 +196,7 @@ (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." (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 @@ 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 @@ (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 @@ (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 @@ (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)))