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/xselect.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/xselect.c')
| -rw-r--r-- | src/xselect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xselect.c b/src/xselect.c index e7e3fe72b14..9aaa10c6efa 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1915,7 +1915,7 @@ DEFUN ("x-own-selection-internal", Fx_own_selection_internal, | |||
| 1915 | Sx_own_selection_internal, 2, 3, 0, | 1915 | Sx_own_selection_internal, 2, 3, 0, |
| 1916 | doc: /* Assert an X selection of type SELECTION and value VALUE. | 1916 | doc: /* Assert an X selection of type SELECTION and value VALUE. |
| 1917 | SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 1917 | SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 1918 | \(Those are literal upper-case symbol names, since that's what X expects.) | 1918 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 1919 | VALUE is typically a string, or a cons of two markers, but may be | 1919 | VALUE is typically a string, or a cons of two markers, but may be |
| 1920 | anything that the functions on `selection-converter-alist' know about. | 1920 | anything that the functions on `selection-converter-alist' know about. |
| 1921 | 1921 | ||
| @@ -1944,7 +1944,7 @@ DEFUN ("x-get-selection-internal", Fx_get_selection_internal, | |||
| 1944 | Sx_get_selection_internal, 2, 4, 0, | 1944 | Sx_get_selection_internal, 2, 4, 0, |
| 1945 | doc: /* Return text selected from some X window. | 1945 | doc: /* Return text selected from some X window. |
| 1946 | SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 1946 | SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 1947 | \(Those are literal upper-case symbol names, since that's what X expects.) | 1947 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 1948 | TARGET-TYPE is the type of data desired, typically `STRING'. | 1948 | TARGET-TYPE is the type of data desired, typically `STRING'. |
| 1949 | 1949 | ||
| 1950 | TIME-STAMP is the time to use in the XConvertSelection call for foreign | 1950 | TIME-STAMP is the time to use in the XConvertSelection call for foreign |
| @@ -2048,7 +2048,7 @@ DEFUN ("x-selection-owner-p", Fx_selection_owner_p, Sx_selection_owner_p, | |||
| 2048 | doc: /* Whether the current Emacs process owns the given X Selection. | 2048 | doc: /* Whether the current Emacs process owns the given X Selection. |
| 2049 | The arg should be the name of the selection in question, typically one of | 2049 | The arg should be the name of the selection in question, typically one of |
| 2050 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. | 2050 | the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. |
| 2051 | \(Those are literal upper-case symbol names, since that's what X expects.) | 2051 | (Those are literal upper-case symbol names, since that's what X expects.) |
| 2052 | For convenience, the symbol nil is the same as `PRIMARY', | 2052 | For convenience, the symbol nil is the same as `PRIMARY', |
| 2053 | and t is the same as `SECONDARY'. | 2053 | and t is the same as `SECONDARY'. |
| 2054 | 2054 | ||
| @@ -2623,7 +2623,7 @@ and the local selection value (whatever was given to | |||
| 2623 | `x-own-selection-internal'). | 2623 | `x-own-selection-internal'). |
| 2624 | 2624 | ||
| 2625 | The function should return the value to send to the X server | 2625 | The function should return the value to send to the X server |
| 2626 | \(typically a string). A return value of nil | 2626 | (typically a string). A return value of nil |
| 2627 | means that the conversion could not be done. | 2627 | means that the conversion could not be done. |
| 2628 | A return value which is the symbol `NULL' | 2628 | A return value which is the symbol `NULL' |
| 2629 | means that a side-effect was executed, | 2629 | means that a side-effect was executed, |
| @@ -2632,10 +2632,10 @@ and there is no meaningful selection value. */); | |||
| 2632 | 2632 | ||
| 2633 | DEFVAR_LISP ("x-lost-selection-functions", Vx_lost_selection_functions, | 2633 | DEFVAR_LISP ("x-lost-selection-functions", Vx_lost_selection_functions, |
| 2634 | doc: /* A list of functions to be called when Emacs loses an X selection. | 2634 | doc: /* A list of functions to be called when Emacs loses an X selection. |
| 2635 | \(This happens when some other X client makes its own selection | 2635 | (This happens when some other X client makes its own selection |
| 2636 | or when a Lisp program explicitly clears the selection.) | 2636 | or when a Lisp program explicitly clears the selection.) |
| 2637 | The functions are called with one argument, the selection type | 2637 | The functions are called with one argument, the selection type |
| 2638 | \(a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'). */); | 2638 | (a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'). */); |
| 2639 | Vx_lost_selection_functions = Qnil; | 2639 | Vx_lost_selection_functions = Qnil; |
| 2640 | 2640 | ||
| 2641 | DEFVAR_LISP ("x-sent-selection-functions", Vx_sent_selection_functions, | 2641 | DEFVAR_LISP ("x-sent-selection-functions", Vx_sent_selection_functions, |