summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-05-16 15:37:45 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-05-16 15:37:45 +0000
commit7dbf4670d9ac3f8438d65d015baf77e9d6585bb3 (patch)
tree3cdce61e27717fb5d670aaa0170415514dee5293
parentcbb7527f8af436f15af19294256eb1a35cf93d05 (diff)
downloademacs-7dbf4670d9ac3f8438d65d015baf77e9d6585bb3.tar.gz
(compilation-handle-exit): Quote first argument of `run-hook-with-args'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/compile.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 292fb001de2..7268a63fe29 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
+
+ * progmodes/compile.el (compilation-handle-exit): Quote first
+ argument of `run-hook-with-args'.
+
2007-05-16 Juanma Barranquero <lekktu@gmail.com>
* buff-menu.el (Buffer-menu-sort-column):
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 23e4f176fee..d3e8ec85d05 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1448,7 +1448,7 @@ Turning the mode on runs the normal hook `compilation-minor-mode-hook'."
(with-no-warnings
(if compilation-finish-function
(funcall compilation-finish-function (current-buffer) msg)))
- (run-hook-with-args compilation-finish-functions (current-buffer) msg)))
+ (run-hook-with-args 'compilation-finish-functions (current-buffer) msg)))
;; Called when compilation process changes state.
(defun compilation-sentinel (proc msg)