From 27ab83abf9975c65efa9b1ec768982c5766f81cd Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Sun, 25 May 2008 22:13:53 +0000 Subject: [PATCH] (proced-next-line, proced-previous-line): Avoid calling `next-line' and `previous-line' from Lisp code. --- lisp/proced.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/proced.el b/lisp/proced.el index 0a9827dc5eb..fa99eb25d04 100644 --- a/lisp/proced.el +++ b/lisp/proced.el @@ -353,14 +353,14 @@ information will be displayed but not selected. "Move down lines then position at `proced-goal-column'. Optional prefix ARG says how many lines to move; default is one line." (interactive "p") - (next-line arg) + (forward-line arg) (proced-move-to-goal-column)) (defun proced-previous-line (arg) "Move up lines then position at `proced-goal-column'. Optional prefix ARG says how many lines to move; default is one line." (interactive "p") - (previous-line arg) + (forward-line (- arg)) (proced-move-to-goal-column)) (defun proced-mark (&optional count) -- 2.39.2