diff options
| author | Juanma Barranquero | 2007-05-16 15:46:07 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-05-16 15:46:07 +0000 |
| commit | 7883a44f5a0cb5967837e8843c2f048d9d4d0300 (patch) | |
| tree | 5a435695edf09b9eca456c79fdc9895d5ffd83fa | |
| parent | 11bec749d6151be0bd493804b59d4356ec6db33d (diff) | |
| download | emacs-7883a44f5a0cb5967837e8843c2f048d9d4d0300.tar.gz emacs-7883a44f5a0cb5967837e8843c2f048d9d4d0300.zip | |
(compilation-handle-exit): Quote first argument of `run-hook-with-args'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5e8497e1246..5d1f57ed14e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change) | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-handle-exit): Quote first | ||
| 4 | argument of `run-hook-with-args'. | ||
| 5 | |||
| 1 | 2007-05-16 Juanma Barranquero <lekktu@gmail.com> | 6 | 2007-05-16 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * buff-menu.el (Buffer-menu-sort-column): | 8 | * buff-menu.el (Buffer-menu-sort-column): |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 1613fd8f976..a3107339c2b 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'." | |||
| 1448 | (with-no-warnings | 1448 | (with-no-warnings |
| 1449 | (if compilation-finish-function | 1449 | (if compilation-finish-function |
| 1450 | (funcall compilation-finish-function (current-buffer) msg))) | 1450 | (funcall compilation-finish-function (current-buffer) msg))) |
| 1451 | (run-hook-with-args compilation-finish-functions (current-buffer) msg))) | 1451 | (run-hook-with-args 'compilation-finish-functions (current-buffer) msg))) |
| 1452 | 1452 | ||
| 1453 | ;; Called when compilation process changes state. | 1453 | ;; Called when compilation process changes state. |
| 1454 | (defun compilation-sentinel (proc msg) | 1454 | (defun compilation-sentinel (proc msg) |