diff options
| author | Paul Eggert | 2016-03-10 07:34:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-03-10 07:59:19 -0800 |
| commit | 7352c6c695db8b90b63c2601277d64a32507d2bb (patch) | |
| tree | 1dc5f7af755a70f67efe13882099ff4920230571 /src/nsselect.m | |
| parent | a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff) | |
| download | emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.tar.gz emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.zip | |
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Diffstat (limited to 'src/nsselect.m')
| -rw-r--r-- | src/nsselect.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nsselect.m b/src/nsselect.m index 463f02bf5ef..eba23932e65 100644 --- a/src/nsselect.m +++ b/src/nsselect.m | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -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 | { |