Mercurial > emacs
changeset 70573:b79a60a5fdeb
(idlwave-shell-move-or-history): Remove spurious move to point-max (new
comint behavior fixes).
author | J.D. Smith <jdsmith@as.arizona.edu> |
---|---|
date | Wed, 10 May 2006 18:24:52 +0000 |
parents | d6353257b05e |
children | 45305d1ce4f7 146cd8369025 |
files | lisp/progmodes/idlw-shell.el |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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)