On 2011-04-15 10:15 +0800, Roland Winkler wrote: > One more thought on this: > > What should someone do who simply wants the hook to be nil? > If add-hook is called explicitly in bbdb.el such people are stuck: > their setting is lost when bbdb.el is loaded (whereas there was no > such problem with the original code where the default value of the hook > variable is set with a call to defcustom).
When people use add-hook they think they are adding another function to a hook so if this isn't the case it will surprise them. People who are setting hook to nil is in a different thinking. > It seems to me that whatever scheme is used here, at best it can > only make some people happy. Oh well! > > (Yet here it is probably more likely that people want to add > elements to the hook than making it nil. This makes calling add-hook > in bbdb.el the better solution here.) > > Roland Leo ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/