(Coding Conventions): Do not encourage the use of "-flag" variable names.
This commit is contained in:
parent
145b63776b
commit
8f39c96dec
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* tips.texi (Coding Conventions): Do not encourage the use of "-flag"
|
||||
variable names.
|
||||
|
||||
2008-05-03 Eric S. Raymond <esr@golux>
|
||||
|
||||
* keymaps.texi: Clarify that (current-local-map) and
|
||||
|
|
|
@ -137,10 +137,6 @@ is true or false, give the function a name that ends in @samp{p}. If
|
|||
the name is one word, add just @samp{p}; if the name is multiple words,
|
||||
add @samp{-p}. Examples are @code{framep} and @code{frame-live-p}.
|
||||
|
||||
@item
|
||||
If a user option variable records a true-or-false condition, give it a
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue