aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2016-03-10 07:34:52 -0800
committerPaul Eggert2016-03-10 07:59:19 -0800
commit7352c6c695db8b90b63c2601277d64a32507d2bb (patch)
tree1dc5f7af755a70f67efe13882099ff4920230571 /src/buffer.c
parenta589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff)
downloademacs-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.c18
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
8GNU Emacs is free software: you can redistribute it and/or modify 8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or 10the Free Software Foundation, either version 3 of the License, or (at
11(at your option) any later version. 11your option) any later version.
12 12
13GNU Emacs is distributed in the hope that it will be useful, 13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of 14but 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.
1045If there is no live buffer named NAME, then return NAME. 1045If there is no live buffer named NAME, then return NAME.
1046Otherwise modify name by appending `<NUMBER>', incrementing NUMBER 1046Otherwise 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.
1048Optional second argument IGNORE specifies a name that is okay to use (if 1048Optional second argument IGNORE specifies a name that is okay to use (if
1049it is in the sequence to be tried) even if a buffer with that name exists. 1049it 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.
3793BEG and END may be integers or markers. 3793BEG and END may be integers or markers.
3794The fourth arg FRONT-ADVANCE, if non-nil, makes the marker 3794The fourth arg FRONT-ADVANCE, if non-nil, makes the marker
3795for the front of the overlay advance when text is inserted there 3795for 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).
3797The fifth arg REAR-ADVANCE, if non-nil, makes the marker 3797The fifth arg REAR-ADVANCE, if non-nil, makes the marker
3798for the rear of the overlay advance when text is inserted there 3798for 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.
6029Two arguments are passed to each function: the positions of 6029Two arguments are passed to each function: the positions of
6030the beginning and end of the range of old text to be changed. 6030the 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.)
6032No information is given about the length of the text after the change. 6032No information is given about the length of the text after the change.
6033 6033
6034Buffer changes made while executing the `before-change-functions' 6034Buffer changes made while executing the `before-change-functions'
@@ -6045,7 +6045,7 @@ from happening repeatedly and making Emacs nonfunctional. */);
6045Three arguments are passed to each function: the positions of 6045Three arguments are passed to each function: the positions of
6046the beginning and end of the range of changed text, 6046the beginning and end of the range of changed text,
6047and the length in chars of the pre-change text replaced by that range. 6047and 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;
6049for a deletion, that length is the number of chars deleted, 6049for a deletion, that length is the number of chars deleted,
6050and the post-change beginning and end are at the same place.) 6050and 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,
6090and VALUE is the old value. 6090and VALUE is the old value.
6091 6091
6092An entry (apply FUN-NAME . ARGS) means undo the change with 6092An entry (apply FUN-NAME . ARGS) means undo the change with
6093(apply FUN-NAME ARGS). 6093\(apply FUN-NAME ARGS).
6094 6094
6095An entry (apply DELTA BEG END FUN-NAME . ARGS) supports selective undo 6095An entry (apply DELTA BEG END FUN-NAME . ARGS) supports selective undo
6096in the active region. BEG and END is the range affected by this entry 6096in 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.
6251If nil, only shows a cursor in the selected window. 6251If nil, only shows a cursor in the selected window.
6252If t, displays a cursor related to the usual cursor type 6252If 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).
6254You can also specify the cursor type as in the `cursor-type' variable. 6254You can also specify the cursor type as in the `cursor-type' variable.
6255Use Custom to set this variable and update the display. */); 6255Use Custom to set this variable and update the display. */);
6256 6256