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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel