summaryrefslogtreecommitdiff
path: root/lisp/progmodes/octave.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2013-10-05 10:45:24 +0800
committerLeo Liu <sdl.web@gmail.com>2013-10-05 10:45:24 +0800
commit6f6ab820c8614b886046095d6494a64d4795f952 (patch)
tree9e0136ecef22a69b3a9e12bf537b2143c0f7bbca /lisp/progmodes/octave.el
parent0106e5b3990b556bf7641fa646a4b049bf543297 (diff)
downloademacs-6f6ab820c8614b886046095d6494a64d4795f952.tar.gz
* progmodes/octave.el (octave-send-region): Call
compilation-forget-errors.
Diffstat (limited to 'lisp/progmodes/octave.el')
-rw-r--r--lisp/progmodes/octave.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index 7b6228e9e16..899bf151a2c 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -1471,6 +1471,8 @@ entered without parens)."
(string (buffer-substring-no-properties beg end))
line)
(with-current-buffer inferior-octave-buffer
+ ;; http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00095.html
+ (compilation-forget-errors)
(setq inferior-octave-output-list nil)
(while (not (string-equal string ""))
(if (string-match "\n" string)