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/nsterm.h | |
| 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/nsterm.h')
| -rw-r--r-- | src/nsterm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index fa5399c7f90..0aea9cca112 100644 --- a/src/nsterm.h +++ b/src/nsterm.h | |||
| @@ -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 |
| @@ -1044,10 +1044,10 @@ struct x_output | |||
| 1044 | 1044 | ||
| 1045 | /* Difference btwn char-column-calculated and actual SB widths. | 1045 | /* Difference btwn char-column-calculated and actual SB widths. |
| 1046 | This is only a concern for rendering when SB on left. */ | 1046 | This is only a concern for rendering when SB on left. */ |
| 1047 | #define NS_SCROLL_BAR_ADJUST(w, f) \ | 1047 | #define NS_SCROLL_BAR_ADJUST(w, f) \ |
| 1048 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w) ? \ | 1048 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w) ? \ |
| 1049 | (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f) \ | 1049 | (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f) \ |
| 1050 | - NS_SCROLL_BAR_WIDTH (f)) : 0) | 1050 | - NS_SCROLL_BAR_WIDTH (f)) : 0) |
| 1051 | 1051 | ||
| 1052 | /* Difference btwn char-line-calculated and actual SB heights. | 1052 | /* Difference btwn char-line-calculated and actual SB heights. |
| 1053 | This is only a concern for rendering when SB on top. */ | 1053 | This is only a concern for rendering when SB on top. */ |