(compilation-filter): Fix up last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Jun 2008 02:47:57 +0000 (02:47 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Jun 2008 02:47:57 +0000 (02:47 +0000)
lisp/ChangeLog
lisp/progmodes/compile.el

index 390f902..8266759 100644 (file)
@@ -1,5 +1,7 @@
 2008-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * progmodes/compile.el (compilation-filter): Fix up last change.
+
        * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
 
        * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
index 0c8bb84..07e5600 100644 (file)
@@ -1675,6 +1675,7 @@ Just inserts the text, and runs `compilation-filter-hook'."
             ;; point at `process-mark' scroll along with the output, but we
             ;; now use window-point-insertion-type instead.
            (insert string)
+            (set-marker (process-mark proc) (point))
            (run-hooks 'compilation-filter-hook))))))
 
 ;;; test if a buffer is a compilation buffer, assuming we're in the buffer