Commit 1d9efc0b authored by Noam Postavsky's avatar Noam Postavsky

Add index for "\( in strings" (Bug#25195)

* doc/emacs/programs.texi (Left Margin Paren): Add index for "\( in
strings".
* doc/lispref/positions.texi (List Motion): Add index, and cross
reference.
parent 304e96f5
Pipeline #2660 failed with stage
in 32 minutes and 39 seconds
...@@ -173,6 +173,7 @@ features that use them will also give you trouble. This includes the ...@@ -173,6 +173,7 @@ features that use them will also give you trouble. This includes the
indentation commands (@pxref{Program Indent}) and Font Lock mode indentation commands (@pxref{Program Indent}) and Font Lock mode
(@pxref{Font Lock}). (@pxref{Font Lock}).
@cindex \( in strings
The most likely problem case is when you want an opening delimiter The most likely problem case is when you want an opening delimiter
at the start of a line inside a string. To avoid trouble, put an at the start of a line inside a string. To avoid trouble, put an
escape character (@samp{\}, in C and Emacs Lisp, @samp{/} in some escape character (@samp{\}, in C and Emacs Lisp, @samp{/} in some
......
...@@ -794,11 +794,15 @@ on a line that starts with a match for this regular expression, ...@@ -794,11 +794,15 @@ on a line that starts with a match for this regular expression,
followed by a character with open-parenthesis syntax. followed by a character with open-parenthesis syntax.
@end defopt @end defopt
@cindex \( in strings
@defopt open-paren-in-column-0-is-defun-start @defopt open-paren-in-column-0-is-defun-start
If this variable's value is non-@code{nil}, an open parenthesis in If this variable's value is non-@code{nil}, an open parenthesis in
column 0 is considered to be the start of a defun. If it is column 0 is considered to be the start of a defun. If it is
@code{nil}, an open parenthesis in column 0 has no special meaning. @code{nil}, an open parenthesis in column 0 has no special meaning.
The default is @code{t}. The default is @code{t}. If a string literal happens to have a
parenthesis in column 0, escape it with backslash to avoid a false
positive, @xref{Left Margin Paren,, Left Margin Convention, emacs, The
GNU Emacs Manual}.
@end defopt @end defopt
@defvar beginning-of-defun-function @defvar beginning-of-defun-function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment