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/menu.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/menu.c')
| -rw-r--r-- | src/menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c index cbddef35754..9504cee5923 100644 --- a/src/menu.c +++ b/src/menu.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 |
| @@ -1130,7 +1130,7 @@ If POSITION is t, it means to use the current mouse position. | |||
| 1130 | MENU is a specifier for a menu. For the simplest case, MENU is a keymap. | 1130 | MENU is a specifier for a menu. For the simplest case, MENU is a keymap. |
| 1131 | The menu items come from key bindings that have a menu string as well as | 1131 | The menu items come from key bindings that have a menu string as well as |
| 1132 | a definition; actually, the "definition" in such a key binding looks like | 1132 | a definition; actually, the "definition" in such a key binding looks like |
| 1133 | (STRING . REAL-DEFINITION). To give the menu a title, put a string into | 1133 | \(STRING . REAL-DEFINITION). To give the menu a title, put a string into |
| 1134 | the keymap as a top-level element. | 1134 | the keymap as a top-level element. |
| 1135 | 1135 | ||
| 1136 | If REAL-DEFINITION is nil, that puts a nonselectable string in the menu. | 1136 | If REAL-DEFINITION is nil, that puts a nonselectable string in the menu. |
| @@ -1495,7 +1495,7 @@ The return value is VALUE from the chosen item. | |||
| 1495 | An ITEM may also be just a string--that makes a nonselectable item. | 1495 | An ITEM may also be just a string--that makes a nonselectable item. |
| 1496 | An ITEM may also be nil--that means to put all preceding items | 1496 | An ITEM may also be nil--that means to put all preceding items |
| 1497 | on the left of the dialog box and all following items on the right. | 1497 | on the left of the dialog box and all following items on the right. |
| 1498 | (By default, approximately half appear on each side.) | 1498 | \(By default, approximately half appear on each side.) |
| 1499 | 1499 | ||
| 1500 | If HEADER is non-nil, the frame title for the box is "Information", | 1500 | If HEADER is non-nil, the frame title for the box is "Information", |
| 1501 | otherwise it is "Question". | 1501 | otherwise it is "Question". |