aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-08-07 15:04:18 +0000
committerMiles Bader2000-08-07 15:04:18 +0000
commite379efd26360c0bfd20377941bfde5602d3c65db (patch)
treea964b9928114540b80a1096ba44e007cdd0f3c74
parent7749a263fa1f8502c866d9595b6ed6f4aa36dd48 (diff)
downloademacs-e379efd26360c0bfd20377941bfde5602d3c65db.tar.gz
emacs-e379efd26360c0bfd20377941bfde5602d3c65db.zip
(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.
-rw-r--r--lisp/progmodes/idlw-shell.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index c79c1f168e5..07d703e6efa 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -6,7 +6,7 @@
6;; Author: Chris Chase <chase@att.com> 6;; Author: Chris Chase <chase@att.com>
7;; Maintainer: Carsten Dominik <dominik@strw.leidenuniv.nl> 7;; Maintainer: Carsten Dominik <dominik@strw.leidenuniv.nl>
8;; Version: 4.2 8;; Version: 4.2
9;; Date: $Date: 2000/06/15 17:58:23 $ 9;; Date: $Date: 2000/06/20 12:49:42 $
10;; Keywords: processes 10;; Keywords: processes
11 11
12;; This file is part of GNU Emacs. 12;; This file is part of GNU Emacs.
@@ -886,7 +886,9 @@ and if `idlwave-shell-ready' is non-nil."
886 (if (and idlwave-shell-ready 886 (if (and idlwave-shell-ready
887 ;; Check for IDL prompt 887 ;; Check for IDL prompt
888 (save-excursion 888 (save-excursion
889 (beginning-of-line) 889 ;; Using (forward-line 0) instead of beginning-of-line
890 ;; avoids any field constraints.
891 (forward-line 0)
890 (looking-at idlwave-shell-prompt-pattern))) 892 (looking-at idlwave-shell-prompt-pattern)))
891 ;; IDL ready for command 893 ;; IDL ready for command
892 (if idlwave-shell-pending-commands 894 (if idlwave-shell-pending-commands