]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/octave.el (octave-send-region): Call
authorLeo Liu <sdl.web@gmail.com>
Sat, 5 Oct 2013 02:45:24 +0000 (10:45 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sat, 5 Oct 2013 02:45:24 +0000 (10:45 +0800)
compilation-forget-errors.

lisp/ChangeLog
lisp/progmodes/octave.el

index a31ceec74a85bf3c0fe2da3b59f5e77daeeb1f3e..0b617f8ed0f6259f61391d4d9c7e492172ec7213 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-05  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-send-region): Call
+       compilation-forget-errors.
+
 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
 
        * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
index 7b6228e9e169990ad4a81ebd09648337889b59e2..899bf151a2c025c9abd8b749460d5b4e28174abe 100644 (file)
@@ -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)