[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An idea: controlling the order of execution of elisp hook functions
From: |
Peter S Galbraith |
Subject: |
Re: An idea: controlling the order of execution of elisp hook functions |
Date: |
Fri, 07 Dec 2001 13:19:42 -0500 |
> Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> wrote on Fri, 07 Dec 2001
> 10:07:47 -0500:
> >> Sometimes it is desirable to be able to control the order of execution
> >> of elisp hook functions.
>
> >> A way to do this would be to give each hook function an optional property
> >> called, say, "priority", with expected values 'first 'normal and 'last.
>
> > As David pointed out, this level of control already exists.
>
> Could one of you give me a pointer to this, please. I didn't find it in
> the Elisp manual v2.7 (accompanying Emacs 21.1).
(elisp)Hooks
or
C-h f add-hook
See bit about 'append.