Commit 965bb23a authored by Leo Liu's avatar Leo Liu
Browse files

* progmodes/octave.el (inferior-octave-startup): Spit out error

parent 15ba2182
2013-11-22 Leo Liu <>
* progmodes/octave.el (inferior-octave-startup): Spit out error
2013-11-22 Bozhidar Batsov <>
* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
......@@ -786,7 +786,12 @@ startup file, `~/.emacs-octave'."
;; output may be mixed up). Hence, we need to digest the Octave
;; output to see when it issues a prompt.
(while inferior-octave-receive-in-progress
(or (inferior-octave-process-live-p)
(unless (inferior-octave-process-live-p)
;; Spit out the error messages.
(when inferior-octave-output-list
(princ (concat (mapconcat 'identity inferior-octave-output-list "\n")
(process-mark inferior-octave-process)))
(error "Process `%s' died" inferior-octave-process))
(accept-process-output inferior-octave-process))
(goto-char (point-max))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment