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


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to