From: Leo Liu Date: Sat, 5 Oct 2013 02:45:24 +0000 (+0800) Subject: * progmodes/octave.el (octave-send-region): Call X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1382 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f6ab820c8614b886046095d6494a64d4795f952;p=emacs.git * progmodes/octave.el (octave-send-region): Call compilation-forget-errors. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a31ceec74a8..0b617f8ed0f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-10-05 Leo Liu + + * progmodes/octave.el (octave-send-region): Call + compilation-forget-errors. + 2013-10-05 Dmitry Gutov * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding' 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)