[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation-finish-functions is not run as a hook
From: |
Lennart Borgman (gmail) |
Subject: |
compilation-finish-functions is not run as a hook |
Date: |
Thu, 10 May 2007 01:32:50 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 |
The variable compilation-finish-functions is said to be a hook. However
using add-hook to make a local value results later in an error:
(add-hook 'compilation-finish-functions 'my-fun nil t)
This gives the hook variables the value '(my-fun t).
compilation-handle-exit tries to run t as a function then.
Should not run-hook-with-args be used there?
BTW the doc string for run-hook-with-args does not mention the special
handling of t.
In GNU Emacs 22.1.50.1 (i386-mingw-nt5.1.2600)
of 2007-05-06
- compilation-finish-functions is not run as a hook,
Lennart Borgman (gmail) <=