diff options
| author | Noam Postavsky | 2018-06-20 08:40:51 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2018-06-20 08:46:13 -0400 |
| commit | 40e1db8ccd1239fc7da5ccd3f5f79017b2b44afc (patch) | |
| tree | 15fca47db3b99213209c91973588ccd189d9ec55 | |
| parent | d289e7e38a4769fad8a3390721f75d996d0e07b4 (diff) | |
| download | emacs-40e1db8ccd1239fc7da5ccd3f5f79017b2b44afc.tar.gz emacs-40e1db8ccd1239fc7da5ccd3f5f79017b2b44afc.zip | |
Change index of ";" to better reflect it's usage (Bug#31623)
* doc/lispref/objects.texi (Comments): "; for commenting" fits better
with the following text about how a semicolon begins a comment. Also
mention that only unescaped semicolons start a comment.
| -rw-r--r-- | doc/lispref/objects.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index c7e751cbd8c..b8cae49027c 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -109,15 +109,15 @@ not be evaluated later. @xref{Input Functions}, for a description of | |||
| 109 | @node Comments | 109 | @node Comments |
| 110 | @section Comments | 110 | @section Comments |
| 111 | @cindex comments | 111 | @cindex comments |
| 112 | @cindex @samp{;} in comment | 112 | @cindex @samp{;} for commenting |
| 113 | 113 | ||
| 114 | A @dfn{comment} is text that is written in a program only for the sake | 114 | A @dfn{comment} is text that is written in a program only for the |
| 115 | of humans that read the program, and that has no effect on the meaning | 115 | sake of humans that read the program, and that has no effect on the |
| 116 | of the program. In Lisp, a semicolon (@samp{;}) starts a comment if it | 116 | meaning of the program. In Lisp, an unescaped semicolon (@samp{;}) |
| 117 | is not within a string or character constant. The comment continues to | 117 | starts a comment if it is not within a string or character constant. |
| 118 | the end of line. The Lisp reader discards comments; they do not become | 118 | The comment continues to the end of line. The Lisp reader discards |
| 119 | part of the Lisp objects which represent the program within the Lisp | 119 | comments; they do not become part of the Lisp objects which represent |
| 120 | system. | 120 | the program within the Lisp system. |
| 121 | 121 | ||
| 122 | The @samp{#@@@var{count}} construct, which skips the next @var{count} | 122 | The @samp{#@@@var{count}} construct, which skips the next @var{count} |
| 123 | characters, is useful for program-generated comments containing binary | 123 | characters, is useful for program-generated comments containing binary |