diff options
| author | Paul Eggert | 2015-09-16 16:23:55 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-16 16:26:07 -0700 |
| commit | 032ce1c7d1afb23e6b1265d91c5a97e45de071ce (patch) | |
| tree | dab9ca1e540c23aeb15ee9ef8fdc6b78e1929b6d /src/syntax.c | |
| parent | 309d39b832ccd72f99cc726090ff03f7e146948d (diff) | |
| download | emacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.tar.gz emacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.zip | |
Omit unnecessary \ before paren in C docstrings
Although \( is needed in docstrings in Elisp code, it is not needed in
docstrings in C code, since C function definitiions do not start with
a parenthesis. The backslashes made the docstrings a bit harder to
read and to format in columns. Also, some C docstrings had ( in
column 1 and this did not appear to be causing any problems. So,
simplify C docstrings by replacing \( with ( and \) with ).
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 55a4ba0abd4..3bd301f0e38 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1098,7 +1098,7 @@ DEFUN ("string-to-syntax", Fstring_to_syntax, Sstring_to_syntax, 1, 1, 0, | |||
| 1098 | doc: /* Convert a syntax descriptor STRING into a raw syntax descriptor. | 1098 | doc: /* Convert a syntax descriptor STRING into a raw syntax descriptor. |
| 1099 | STRING should be a string of the form allowed as argument of | 1099 | STRING should be a string of the form allowed as argument of |
| 1100 | `modify-syntax-entry'. The return value is a raw syntax descriptor: a | 1100 | `modify-syntax-entry'. The return value is a raw syntax descriptor: a |
| 1101 | cons cell \(CODE . MATCHING-CHAR) which can be used, for example, as | 1101 | cons cell (CODE . MATCHING-CHAR) which can be used, for example, as |
| 1102 | the value of a `syntax-table' text property. */) | 1102 | the value of a `syntax-table' text property. */) |
| 1103 | (Lisp_Object string) | 1103 | (Lisp_Object string) |
| 1104 | { | 1104 | { |