diff options
| author | Noam Postavsky | 2019-07-28 12:15:33 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-07-30 09:06:18 -0400 |
| commit | 1d9efc0b3a60fda86885001b229b6528ffb931df (patch) | |
| tree | b33fa202f0ff67ed619c2fd7a3a34fc567ecd48b /doc | |
| parent | 304e96f50d49e142edd8ec1b1c7d9fb1ce9a7385 (diff) | |
| download | emacs-1d9efc0b3a60fda86885001b229b6528ffb931df.tar.gz emacs-1d9efc0b3a60fda86885001b229b6528ffb931df.zip | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/programs.texi | 1 | ||||
| -rw-r--r-- | doc/lispref/positions.texi | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 1d6f3e0459a..4c42b1078de 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -173,6 +173,7 @@ features that use them will also give you trouble. This includes the | |||
| 173 | indentation commands (@pxref{Program Indent}) and Font Lock mode | 173 | indentation commands (@pxref{Program Indent}) and Font Lock mode |
| 174 | (@pxref{Font Lock}). | 174 | (@pxref{Font Lock}). |
| 175 | 175 | ||
| 176 | @cindex \( in strings | ||
| 176 | The most likely problem case is when you want an opening delimiter | 177 | The most likely problem case is when you want an opening delimiter |
| 177 | at the start of a line inside a string. To avoid trouble, put an | 178 | at the start of a line inside a string. To avoid trouble, put an |
| 178 | escape character (@samp{\}, in C and Emacs Lisp, @samp{/} in some | 179 | escape character (@samp{\}, in C and Emacs Lisp, @samp{/} in some |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 77077934673..a5a51f0a0bf 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -794,11 +794,15 @@ on a line that starts with a match for this regular expression, | |||
| 794 | followed by a character with open-parenthesis syntax. | 794 | followed by a character with open-parenthesis syntax. |
| 795 | @end defopt | 795 | @end defopt |
| 796 | 796 | ||
| 797 | @cindex \( in strings | ||
| 797 | @defopt open-paren-in-column-0-is-defun-start | 798 | @defopt open-paren-in-column-0-is-defun-start |
| 798 | If this variable's value is non-@code{nil}, an open parenthesis in | 799 | If this variable's value is non-@code{nil}, an open parenthesis in |
| 799 | column 0 is considered to be the start of a defun. If it is | 800 | column 0 is considered to be the start of a defun. If it is |
| 800 | @code{nil}, an open parenthesis in column 0 has no special meaning. | 801 | @code{nil}, an open parenthesis in column 0 has no special meaning. |
| 801 | The default is @code{t}. | 802 | The default is @code{t}. If a string literal happens to have a |
| 803 | parenthesis in column 0, escape it with backslash to avoid a false | ||
| 804 | positive, @xref{Left Margin Paren,, Left Margin Convention, emacs, The | ||
| 805 | GNU Emacs Manual}. | ||
| 802 | @end defopt | 806 | @end defopt |
| 803 | 807 | ||
| 804 | @defvar beginning-of-defun-function | 808 | @defvar beginning-of-defun-function |