Permalink
Browse files

When no state is found during a scan, clear the highlight line.

  • Loading branch information...
1 parent 20dcf5b commit 91be96e6949bdd5d9c55c65bc58fa4e0856b234c @jdtsmith committed Jul 7, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 idlw-shell.el
View
@@ -1857,8 +1857,10 @@ the above."
idlwave-shell-command-output)
(setq idlwave-shell-current-state 'breakpoint))
- ;; Otherwise, no particular state
- (t (setq idlwave-shell-current-state nil)))))
+ ;; Otherwise, no particular state, display no line
+ (t (setq idlwave-shell-current-state nil)
+ (unless idlwave-shell-post-command-hook
+ (idlwave-shell-display-line nil))))))
(defun idlwave-shell-parse-line (string &optional skip-main)

0 comments on commit 91be96e

Please sign in to comment.