[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v |
Date: |
Wed, 23 May 2007 08:11:59 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/05/23 08:11:59
Index: compile.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.424
retrieving revision 1.425
diff -u -b -r1.424 -r1.425
--- compile.el 16 May 2007 15:43:57 -0000 1.424
+++ compile.el 23 May 2007 08:11:59 -0000 1.425
@@ -1426,7 +1426,8 @@
process-status exit-status msg)
(cons msg exit-status)))
(omax (point-max))
- (opoint (point)))
+ (opoint (point))
+ (cur-buffer (current-buffer)))
;; Record where we put the message, so we can ignore it later on.
(goto-char omax)
(insert ?\n mode-name " " (car status))
@@ -1447,8 +1448,8 @@
(goto-char opoint))
(with-no-warnings
(if compilation-finish-function
- (funcall compilation-finish-function (current-buffer) msg)))
- (run-hook-with-args 'compilation-finish-functions (current-buffer) msg)))
+ (funcall compilation-finish-function cur-buffer msg)))
+ (run-hook-with-args 'compilation-finish-functions cur-buffer msg)))
;; Called when compilation process changes state.
(defun compilation-sentinel (proc msg)