diff options
| author | Lute Kamstra | 2003-10-06 08:26:59 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2003-10-06 08:26:59 +0000 |
| commit | 492475213fc13fc7a01ba53a3e6056e614ca315f (patch) | |
| tree | afa6aef7196c611c8b47c196bbeecaf243ce87a9 | |
| parent | 3536c1212dd8cb212a75b5f6753584c62e3b60c6 (diff) | |
| download | emacs-492475213fc13fc7a01ba53a3e6056e614ca315f.tar.gz emacs-492475213fc13fc7a01ba53a3e6056e614ca315f.zip | |
(Coding Conventions): Mention naming conventions for hooks.
| -rw-r--r-- | lispref/ChangeLog | 13 | ||||
| -rw-r--r-- | lispref/tips.texi | 6 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 70f4c732e25..089d1b698b1 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-10-06 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * tips.texi (Coding Conventions): Mention naming conventions for | ||
| 4 | hooks. | ||
| 5 | |||
| 1 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> | 6 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 7 | ||
| 3 | * loading.texi (Library Search): Correct default value of | 8 | * loading.texi (Library Search): Correct default value of |
| @@ -11,7 +16,7 @@ | |||
| 11 | (Unloading): In unload-feature, use new var name | 16 | (Unloading): In unload-feature, use new var name |
| 12 | unload-feature-special-hooks. | 17 | unload-feature-special-hooks. |
| 13 | 18 | ||
| 14 | 2003-10-03 Lute Kamstra <Lute.Kamstra@cwi.nl> | 19 | 2003-10-03 Lute Kamstra <lute@gnu.org> |
| 15 | 20 | ||
| 16 | * modes.texi (Major Mode Conventions): Mention third way to set up | 21 | * modes.texi (Major Mode Conventions): Mention third way to set up |
| 17 | Imenu. | 22 | Imenu. |
| @@ -28,14 +33,14 @@ | |||
| 28 | 33 | ||
| 29 | * display.texi (Overlay Properties): Clarify `evaporate' property. | 34 | * display.texi (Overlay Properties): Clarify `evaporate' property. |
| 30 | 35 | ||
| 31 | 2003-09-29 Lute Kamstra <Lute.Kamstra@cwi.nl> | 36 | 2003-09-29 Lute Kamstra <lute@gnu.org> |
| 32 | 37 | ||
| 33 | * modes.texi (Mode Line Data): Explain when symbols in mode-line | 38 | * modes.texi (Mode Line Data): Explain when symbols in mode-line |
| 34 | constructs should be marked as risky. | 39 | constructs should be marked as risky. |
| 35 | Change cons cell into proper list. | 40 | Change cons cell into proper list. |
| 36 | (Mode Line Variables): Change cons cell into proper list. | 41 | (Mode Line Variables): Change cons cell into proper list. |
| 37 | 42 | ||
| 38 | 2003-09-26 Lute Kamstra <Lute.Kamstra@cwi.nl> | 43 | 2003-09-26 Lute Kamstra <lute@gnu.org> |
| 39 | 44 | ||
| 40 | * modes.texi (Mode Line Data): Document the :propertize construct. | 45 | * modes.texi (Mode Line Data): Document the :propertize construct. |
| 41 | (Mode Line Variables): Reorder the descriptions of the variables | 46 | (Mode Line Variables): Reorder the descriptions of the variables |
| @@ -104,7 +109,7 @@ | |||
| 104 | * display.texi (Fontsets): Add char-displayable-p. | 109 | * display.texi (Fontsets): Add char-displayable-p. |
| 105 | (Scroll Bars): New node. | 110 | (Scroll Bars): New node. |
| 106 | 111 | ||
| 107 | 2003-09-08 Lute Kamstra <Lute.Kamstra@cwi.nl> | 112 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
| 108 | 113 | ||
| 109 | * modes.texi (%-Constructs): Document new `%i' and `%I' | 114 | * modes.texi (%-Constructs): Document new `%i' and `%I' |
| 110 | constructs. | 115 | constructs. |
diff --git a/lispref/tips.texi b/lispref/tips.texi index d769fca581d..d07fa1b3712 100644 --- a/lispref/tips.texi +++ b/lispref/tips.texi | |||
| @@ -126,6 +126,12 @@ If a user option variable records a true-or-false condition, give it a | |||
| 126 | name that ends in @samp{-flag}. | 126 | name that ends in @samp{-flag}. |
| 127 | 127 | ||
| 128 | @item | 128 | @item |
| 129 | If the purpose of a variable is to store a single function, give it a | ||
| 130 | name that ends in @samp{-function}. If the purpose of a variable is | ||
| 131 | to store a list of functions (i.e., the variable is a hook), please | ||
| 132 | follow the naming conventions for hooks. @xref{Hooks}. | ||
| 133 | |||
| 134 | @item | ||
| 129 | @cindex reserved keys | 135 | @cindex reserved keys |
| 130 | @cindex keys, reserved | 136 | @cindex keys, reserved |
| 131 | Please do not define @kbd{C-c @var{letter}} as a key in your major | 137 | Please do not define @kbd{C-c @var{letter}} as a key in your major |