(idlwave-shell-move-or-history): Remove spurious move to point-max (new
authorJ.D. Smith <jdsmith@as.arizona.edu>
Wed, 10 May 2006 18:24:52 +0000 (18:24 +0000)
committerJ.D. Smith <jdsmith@as.arizona.edu>
Wed, 10 May 2006 18:24:52 +0000 (18:24 +0000)
comint behavior fixes).

lisp/progmodes/idlw-shell.el

index 410875f..bdc8161 100644 (file)
@@ -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)