# HG changeset patch # User J.D. Smith # Date 1147285492 0 # Node ID b79a60a5fdeb69557d1ccfb5c37ba6c2dd5f3673 # Parent d6353257b05ee0aa20146ec4b03eb8e4760b1b26 (idlwave-shell-move-or-history): Remove spurious move to point-max (new comint behavior fixes). diff -r d6353257b05e -r b79a60a5fdeb lisp/progmodes/idlw-shell.el --- a/lisp/progmodes/idlw-shell.el Wed May 10 18:24:15 2006 +0000 +++ b/lisp/progmodes/idlw-shell.el Wed May 10 18:24:52 2006 +0000 @@ -1471,11 +1471,7 @@ (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)