aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2018-06-20 08:40:51 -0400
committerNoam Postavsky2018-06-20 08:46:13 -0400
commit40e1db8ccd1239fc7da5ccd3f5f79017b2b44afc (patch)
tree15fca47db3b99213209c91973588ccd189d9ec55
parentd289e7e38a4769fad8a3390721f75d996d0e07b4 (diff)
downloademacs-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.texi18
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
115of humans that read the program, and that has no effect on the meaning 115sake of humans that read the program, and that has no effect on the
116of the program. In Lisp, a semicolon (@samp{;}) starts a comment if it 116meaning of the program. In Lisp, an unescaped semicolon (@samp{;})
117is not within a string or character constant. The comment continues to 117starts a comment if it is not within a string or character constant.
118the end of line. The Lisp reader discards comments; they do not become 118The comment continues to the end of line. The Lisp reader discards
119part of the Lisp objects which represent the program within the Lisp 119comments; they do not become part of the Lisp objects which represent
120system. 120the 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}
123characters, is useful for program-generated comments containing binary 123characters, is useful for program-generated comments containing binary