aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.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/menu.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/menu.c')
-rw-r--r--src/menu.c8
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
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
@@ -1130,7 +1130,7 @@ If POSITION is t, it means to use the current mouse position.
1130MENU is a specifier for a menu. For the simplest case, MENU is a keymap. 1130MENU is a specifier for a menu. For the simplest case, MENU is a keymap.
1131The menu items come from key bindings that have a menu string as well as 1131The menu items come from key bindings that have a menu string as well as
1132a definition; actually, the "definition" in such a key binding looks like 1132a 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
1134the keymap as a top-level element. 1134the keymap as a top-level element.
1135 1135
1136If REAL-DEFINITION is nil, that puts a nonselectable string in the menu. 1136If 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.
1495An ITEM may also be just a string--that makes a nonselectable item. 1495An ITEM may also be just a string--that makes a nonselectable item.
1496An ITEM may also be nil--that means to put all preceding items 1496An ITEM may also be nil--that means to put all preceding items
1497on the left of the dialog box and all following items on the right. 1497on 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
1500If HEADER is non-nil, the frame title for the box is "Information", 1500If HEADER is non-nil, the frame title for the box is "Information",
1501otherwise it is "Question". 1501otherwise it is "Question".