From d105bfecce2288cd99f591382586a22a4ce1b6f2 Mon Sep 17 00:00:00 2001 From: "J.D. Smith" Date: Wed, 10 May 2006 18:24:52 +0000 Subject: [PATCH] (idlwave-shell-move-or-history): Remove spurious move to point-max (new comint behavior fixes). --- lisp/progmodes/idlw-shell.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 410875f2006..bdc8161c80f 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el @@ -1471,11 +1471,7 @@ Otherwise just move the line. Move down unless UP is non-nil." (if (eq t idlwave-shell-arrows-do-history) (goto-char proc-pos)) (if (and idlwave-shell-arrows-do-history (>= (1+ (save-excursion (end-of-line) (point))) proc-pos)) - (progn - ;;(goto-char proc-pos) - (goto-char (point-max)) - ;;(and (not (eolp)) (kill-line nil)) - (comint-previous-input arg)) + (comint-previous-input arg) (previous-line arg)))) (defun idlwave-shell-up-or-history (&optional arg) -- 2.39.5