Mercurial > emacs
changeset 52769:00608f913b6f
(Coding Conventions): Mention naming conventions for hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Mon, 06 Oct 2003 08:26:26 +0000 |
parents | 76ef58aaa536 |
children | 7a0586a6cfad |
files | lispref/tips.texi |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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