From: J.D. Smith Date: Wed, 10 May 2006 18:24:52 +0000 (+0000) Subject: (idlwave-shell-move-or-history): Remove spurious move to point-max (new X-Git-Tag: emacs-pretest-22.0.90~2636 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d105bfecce2288cd99f591382586a22a4ce1b6f2;p=emacs.git (idlwave-shell-move-or-history): Remove spurious move to point-max (new comint behavior fixes). --- 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)