aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.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/keymap.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/keymap.c')
-rw-r--r--src/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 7928e62ea44..8ab4c6c27ae 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -6,8 +6,8 @@ This file is part of GNU Emacs.
6 6
7GNU Emacs is free software: you can redistribute it and/or modify 7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by 8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or 9the Free Software Foundation, either version 3 of the License, or (at
10(at your option) any later version. 10your option) any later version.
11 11
12GNU Emacs is distributed in the hope that it will be useful, 12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of 13but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -1687,7 +1687,7 @@ DEFUN ("global-key-binding", Fglobal_key_binding, Sglobal_key_binding, 1, 2, 0,
1687KEYS is a string or vector, a sequence of keystrokes. 1687KEYS is a string or vector, a sequence of keystrokes.
1688The binding is probably a symbol with a function definition. 1688The binding is probably a symbol with a function definition.
1689This function's return values are the same as those of `lookup-key' 1689This function's return values are the same as those of `lookup-key'
1690(which see). 1690\(which see).
1691 1691
1692If optional argument ACCEPT-DEFAULT is non-nil, recognize default 1692If optional argument ACCEPT-DEFAULT is non-nil, recognize default
1693bindings; see the description of `lookup-key' for more details about this. */) 1693bindings; see the description of `lookup-key' for more details about this. */)
@@ -2493,7 +2493,7 @@ If FIRSTONLY is the symbol `non-ascii', return the first binding found,
2493no matter what it is. 2493no matter what it is.
2494If FIRSTONLY has another non-nil value, prefer bindings 2494If FIRSTONLY has another non-nil value, prefer bindings
2495that use the modifier key specified in `where-is-preferred-modifier' 2495that use the modifier key specified in `where-is-preferred-modifier'
2496(or their meta variants) and entirely reject menu bindings. 2496\(or their meta variants) and entirely reject menu bindings.
2497 2497
2498If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside 2498If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside
2499menu-items. This makes it possible to search for a menu-item itself. 2499menu-items. This makes it possible to search for a menu-item itself.
@@ -2724,7 +2724,7 @@ looked up in BUFFER.
2724The optional argument PREFIX, if non-nil, should be a key sequence; 2724The optional argument PREFIX, if non-nil, should be a key sequence;
2725then we display only bindings that start with that prefix. 2725then we display only bindings that start with that prefix.
2726The optional argument MENUS, if non-nil, says to mention menu bindings. 2726The optional argument MENUS, if non-nil, says to mention menu bindings.
2727(Ordinarily these are omitted from the output.) */) 2727\(Ordinarily these are omitted from the output.) */)
2728 (Lisp_Object buffer, Lisp_Object prefix, Lisp_Object menus) 2728 (Lisp_Object buffer, Lisp_Object prefix, Lisp_Object menus)
2729{ 2729{
2730 Lisp_Object outbuf, shadow; 2730 Lisp_Object outbuf, shadow;