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/buffer.c | |
| 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/buffer.c')
| -rw-r--r-- | src/buffer.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c index 653e3fe05f8..f06d7e08e49 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -1044,7 +1044,7 @@ DEFUN ("generate-new-buffer-name", Fgenerate_new_buffer_name, | |||
| 1044 | doc: /* Return a string that is the name of no existing buffer based on NAME. | 1044 | doc: /* Return a string that is the name of no existing buffer based on NAME. |
| 1045 | If there is no live buffer named NAME, then return NAME. | 1045 | If there is no live buffer named NAME, then return NAME. |
| 1046 | Otherwise modify name by appending `<NUMBER>', incrementing NUMBER | 1046 | Otherwise modify name by appending `<NUMBER>', incrementing NUMBER |
| 1047 | (starting at 2) until an unused name is found, and then return that name. | 1047 | \(starting at 2) until an unused name is found, and then return that name. |
| 1048 | Optional second argument IGNORE specifies a name that is okay to use (if | 1048 | Optional second argument IGNORE specifies a name that is okay to use (if |
| 1049 | it is in the sequence to be tried) even if a buffer with that name exists. | 1049 | it is in the sequence to be tried) even if a buffer with that name exists. |
| 1050 | 1050 | ||
| @@ -3793,10 +3793,10 @@ If omitted, BUFFER defaults to the current buffer. | |||
| 3793 | BEG and END may be integers or markers. | 3793 | BEG and END may be integers or markers. |
| 3794 | The fourth arg FRONT-ADVANCE, if non-nil, makes the marker | 3794 | The fourth arg FRONT-ADVANCE, if non-nil, makes the marker |
| 3795 | for the front of the overlay advance when text is inserted there | 3795 | for the front of the overlay advance when text is inserted there |
| 3796 | (which means the text *is not* included in the overlay). | 3796 | \(which means the text *is not* included in the overlay). |
| 3797 | The fifth arg REAR-ADVANCE, if non-nil, makes the marker | 3797 | The fifth arg REAR-ADVANCE, if non-nil, makes the marker |
| 3798 | for the rear of the overlay advance when text is inserted there | 3798 | for the rear of the overlay advance when text is inserted there |
| 3799 | (which means the text *is* included in the overlay). */) | 3799 | \(which means the text *is* included in the overlay). */) |
| 3800 | (Lisp_Object beg, Lisp_Object end, Lisp_Object buffer, | 3800 | (Lisp_Object beg, Lisp_Object end, Lisp_Object buffer, |
| 3801 | Lisp_Object front_advance, Lisp_Object rear_advance) | 3801 | Lisp_Object front_advance, Lisp_Object rear_advance) |
| 3802 | { | 3802 | { |
| @@ -6028,7 +6028,7 @@ between 0.0 and 1.0, inclusive. */); | |||
| 6028 | doc: /* List of functions to call before each text change. | 6028 | doc: /* List of functions to call before each text change. |
| 6029 | Two arguments are passed to each function: the positions of | 6029 | Two arguments are passed to each function: the positions of |
| 6030 | the beginning and end of the range of old text to be changed. | 6030 | the beginning and end of the range of old text to be changed. |
| 6031 | (For an insertion, the beginning and end are at the same place.) | 6031 | \(For an insertion, the beginning and end are at the same place.) |
| 6032 | No information is given about the length of the text after the change. | 6032 | No information is given about the length of the text after the change. |
| 6033 | 6033 | ||
| 6034 | Buffer changes made while executing the `before-change-functions' | 6034 | Buffer changes made while executing the `before-change-functions' |
| @@ -6045,7 +6045,7 @@ from happening repeatedly and making Emacs nonfunctional. */); | |||
| 6045 | Three arguments are passed to each function: the positions of | 6045 | Three arguments are passed to each function: the positions of |
| 6046 | the beginning and end of the range of changed text, | 6046 | the beginning and end of the range of changed text, |
| 6047 | and the length in chars of the pre-change text replaced by that range. | 6047 | and the length in chars of the pre-change text replaced by that range. |
| 6048 | (For an insertion, the pre-change length is zero; | 6048 | \(For an insertion, the pre-change length is zero; |
| 6049 | for a deletion, that length is the number of chars deleted, | 6049 | for a deletion, that length is the number of chars deleted, |
| 6050 | and the post-change beginning and end are at the same place.) | 6050 | and the post-change beginning and end are at the same place.) |
| 6051 | 6051 | ||
| @@ -6090,7 +6090,7 @@ was modified between BEG and END. PROPERTY is the property name, | |||
| 6090 | and VALUE is the old value. | 6090 | and VALUE is the old value. |
| 6091 | 6091 | ||
| 6092 | An entry (apply FUN-NAME . ARGS) means undo the change with | 6092 | An entry (apply FUN-NAME . ARGS) means undo the change with |
| 6093 | (apply FUN-NAME ARGS). | 6093 | \(apply FUN-NAME ARGS). |
| 6094 | 6094 | ||
| 6095 | An entry (apply DELTA BEG END FUN-NAME . ARGS) supports selective undo | 6095 | An entry (apply DELTA BEG END FUN-NAME . ARGS) supports selective undo |
| 6096 | in the active region. BEG and END is the range affected by this entry | 6096 | in the active region. BEG and END is the range affected by this entry |
| @@ -6250,7 +6250,7 @@ to the default frame line height. A value of nil means add no extra space. */) | |||
| 6250 | doc: /* Non-nil means show a cursor in non-selected windows. | 6250 | doc: /* Non-nil means show a cursor in non-selected windows. |
| 6251 | If nil, only shows a cursor in the selected window. | 6251 | If nil, only shows a cursor in the selected window. |
| 6252 | If t, displays a cursor related to the usual cursor type | 6252 | If t, displays a cursor related to the usual cursor type |
| 6253 | (a solid box becomes hollow, a bar becomes a narrower bar). | 6253 | \(a solid box becomes hollow, a bar becomes a narrower bar). |
| 6254 | You can also specify the cursor type as in the `cursor-type' variable. | 6254 | You can also specify the cursor type as in the `cursor-type' variable. |
| 6255 | Use Custom to set this variable and update the display. */); | 6255 | Use Custom to set this variable and update the display. */); |
| 6256 | 6256 | ||