# HG changeset patch # User Lute Kamstra # Date 1065428786 0 # Node ID 00608f913b6fa22cab718dad6177eaed862af313 # Parent 76ef58aaa5363dfb4737ab6f934db122c8f48cc5 (Coding Conventions): Mention naming conventions for hooks. diff -r 76ef58aaa536 -r 00608f913b6f lispref/tips.texi --- a/lispref/tips.texi Mon Oct 06 07:14:53 2003 +0000 +++ b/lispref/tips.texi Mon Oct 06 08:26:26 2003 +0000 @@ -126,6 +126,12 @@ name that ends in @samp{-flag}. @item +If the purpose of a variable is to store a single function, give it a +name that ends in @samp{-function}. If the purpose of a variable is +to store a list of functions (i.e., the variable is a hook), please +follow the naming conventions for hooks. @xref{Hooks}. + +@item @cindex reserved keys @cindex keys, reserved Please do not define @kbd{C-c @var{letter}} as a key in your major