# HG changeset patch # User Miles Bader # Date 965660658 0 # Node ID 4ee57139dc05a6f3532234f64d6ff8a8b84131b8 # Parent 9d266998439c567338bcaad900bf1a3e121f89be (idlwave-shell-send-command): When looking for a prompt, (forward-line 0) instead of (beginning-of-line), to avoid getting caught by an input field. diff -r 9d266998439c -r 4ee57139dc05 lisp/progmodes/idlw-shell.el --- a/lisp/progmodes/idlw-shell.el Mon Aug 07 14:59:23 2000 +0000 +++ b/lisp/progmodes/idlw-shell.el Mon Aug 07 15:04:18 2000 +0000 @@ -6,7 +6,7 @@ ;; Author: Chris Chase ;; Maintainer: Carsten Dominik ;; Version: 4.2 -;; Date: $Date: 2000/06/15 17:58:23 $ +;; Date: $Date: 2000/06/20 12:49:42 $ ;; Keywords: processes ;; This file is part of GNU Emacs. @@ -886,7 +886,9 @@ (if (and idlwave-shell-ready ;; Check for IDL prompt (save-excursion - (beginning-of-line) + ;; Using (forward-line 0) instead of beginning-of-line + ;; avoids any field constraints. + (forward-line 0) (looking-at idlwave-shell-prompt-pattern))) ;; IDL ready for command (if idlwave-shell-pending-commands