aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.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/window.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/window.c')
-rw-r--r--src/window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window.c b/src/window.c
index 8953d3cec00..733cf75d132 100644
--- a/src/window.c
+++ b/src/window.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
@@ -670,7 +670,7 @@ DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_windo
670WINDOW must be a valid window used in horizontal or vertical combination. 670WINDOW must be a valid window used in horizontal or vertical combination.
671If LIMIT is nil, child windows of WINDOW can be recombined with WINDOW's 671If LIMIT is nil, child windows of WINDOW can be recombined with WINDOW's
672siblings. LIMIT t means that child windows of WINDOW are never 672siblings. LIMIT t means that child windows of WINDOW are never
673(re-)combined with WINDOW's siblings. Other values are reserved for 673\(re-)combined with WINDOW's siblings. Other values are reserved for
674future use. */) 674future use. */)
675 (Lisp_Object window, Lisp_Object limit) 675 (Lisp_Object window, Lisp_Object limit)
676{ 676{
@@ -1324,7 +1324,7 @@ DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p,
1324WINDOW must be a live window and defaults to the selected one. 1324WINDOW must be a live window and defaults to the selected one.
1325COORDINATES is a cons of the form (X . Y), X and Y being distances 1325COORDINATES is a cons of the form (X . Y), X and Y being distances
1326measured in characters from the upper-left corner of the frame. 1326measured in characters from the upper-left corner of the frame.
1327(0 . 0) denotes the character in the upper left corner of the 1327\(0 . 0) denotes the character in the upper left corner of the
1328frame. 1328frame.
1329If COORDINATES are in the text portion of WINDOW, 1329If COORDINATES are in the text portion of WINDOW,
1330 the coordinates relative to the window are returned. 1330 the coordinates relative to the window are returned.
@@ -1710,7 +1710,7 @@ of the window. The remaining elements are omitted if the character after
1710POS is fully visible; otherwise, RTOP and RBOT are the number of pixels 1710POS is fully visible; otherwise, RTOP and RBOT are the number of pixels
1711off-window at the top and bottom of the screen line ("row") containing 1711off-window at the top and bottom of the screen line ("row") containing
1712POS, ROWH is the visible height of that row, and VPOS is the row number 1712POS, ROWH is the visible height of that row, and VPOS is the row number
1713(zero-based). */) 1713\(zero-based). */)
1714 (Lisp_Object pos, Lisp_Object window, Lisp_Object partially) 1714 (Lisp_Object pos, Lisp_Object window, Lisp_Object partially)
1715{ 1715{
1716 struct window *w; 1716 struct window *w;