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/nsselect.m | |
| 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/nsselect.m')
| -rw-r--r-- | src/nsselect.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nsselect.m b/src/nsselect.m index 918fb55fb22..5579cc5a767 100644 --- a/src/nsselect.m +++ b/src/nsselect.m | |||
| @@ -316,7 +316,7 @@ DEFUN ("ns-own-selection-internal", Fns_own_selection_internal, | |||
| 316 | Sns_own_selection_internal, 2, 2, 0, | 316 | Sns_own_selection_internal, 2, 2, 0, |
| 317 | doc: /* Assert an X selection of type SELECTION and value VALUE. | 317 | doc: /* Assert an X selection of type SELECTION and value VALUE. |
| 318 | SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 318 | SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 319 | \(Those are literal upper-case symbol names, since that's what X expects.) | 319 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 320 | VALUE is typically a string, or a cons of two markers, but may be | 320 | VALUE is typically a string, or a cons of two markers, but may be |
| 321 | anything that the functions on `selection-converter-alist' know about. */) | 321 | anything that the functions on `selection-converter-alist' know about. */) |
| 322 | (Lisp_Object selection, Lisp_Object value) | 322 | (Lisp_Object selection, Lisp_Object value) |
| @@ -414,7 +414,7 @@ DEFUN ("ns-selection-owner-p", Fns_selection_owner_p, Sns_selection_owner_p, | |||
| 414 | doc: /* Whether the current Emacs process owns the given X Selection. | 414 | doc: /* Whether the current Emacs process owns the given X Selection. |
| 415 | The arg should be the name of the selection in question, typically one of | 415 | The arg should be the name of the selection in question, typically one of |
| 416 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 416 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 417 | \(Those are literal upper-case symbol names, since that's what X expects.) | 417 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 418 | For convenience, the symbol nil is the same as `PRIMARY', | 418 | For convenience, the symbol nil is the same as `PRIMARY', |
| 419 | and t is the same as `SECONDARY'. */) | 419 | and t is the same as `SECONDARY'. */) |
| 420 | (Lisp_Object selection) | 420 | (Lisp_Object selection) |
| @@ -433,7 +433,7 @@ DEFUN ("ns-get-selection", Fns_get_selection, | |||
| 433 | Sns_get_selection, 2, 2, 0, | 433 | Sns_get_selection, 2, 2, 0, |
| 434 | doc: /* Return text selected from some X window. | 434 | doc: /* Return text selected from some X window. |
| 435 | SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 435 | SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 436 | \(Those are literal upper-case symbol names, since that's what X expects.) | 436 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 437 | TARGET-TYPE is the type of data desired, typically `STRING'. */) | 437 | TARGET-TYPE is the type of data desired, typically `STRING'. */) |
| 438 | (Lisp_Object selection_name, Lisp_Object target_type) | 438 | (Lisp_Object selection_name, Lisp_Object target_type) |
| 439 | { | 439 | { |