Add further documentation about semicolon use
* doc/lispref/tips.texi (Comment Tips): Document the sub-heading convention (bug#23060) as explained by Stefan on StackExchange.
This commit is contained in:
parent
fa04c8b87e
commit
a9593253e9
1 changed files with 6 additions and 3 deletions
|
@ -916,13 +916,16 @@ is discouraged.
|
|||
When commenting out entire functions, use two semicolons.
|
||||
|
||||
@item ;;;;
|
||||
Comments that start with four semicolons, @samp{;;;;}, should be aligned
|
||||
to the left margin and are used for headings of major sections of a
|
||||
program. For example:
|
||||
Comments that start with four (or more) semicolons, @samp{;;;;},
|
||||
should be aligned to the left margin and are used for headings of
|
||||
major sections of a program. For example:
|
||||
|
||||
@smallexample
|
||||
;;;; The kill ring
|
||||
@end smallexample
|
||||
|
||||
If you wish to have sub-headings under these heading, use more
|
||||
semicolons to nest these sub-headings.
|
||||
@end table
|
||||
|
||||
@noindent
|
||||
|
|
Loading…
Add table
Reference in a new issue