emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect indentation after :name


From: Luc Teirlinck
Subject: Re: Incorrect indentation after :name
Date: Tue, 5 Jul 2005 20:43:27 -0500 (CDT)

   Is it safe to directly set a hook to a function list?  Or have
   we to use 'add-hook'?

_Normally_, you have to use add-hook.  But, for instance, you may have
to set it to an explicit list in a defcustom, to get the standard
value right.  Lists of functions are also used in defvars and in other
situations, see for instance comint-output-filter-functions (just one
example out of many).

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]