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/keymap.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/keymap.c')
| -rw-r--r-- | src/keymap.c | 10 |
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 | ||
| 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 |
| @@ -1687,7 +1687,7 @@ DEFUN ("global-key-binding", Fglobal_key_binding, Sglobal_key_binding, 1, 2, 0, | |||
| 1687 | KEYS is a string or vector, a sequence of keystrokes. | 1687 | KEYS is a string or vector, a sequence of keystrokes. |
| 1688 | The binding is probably a symbol with a function definition. | 1688 | The binding is probably a symbol with a function definition. |
| 1689 | This function's return values are the same as those of `lookup-key' | 1689 | This function's return values are the same as those of `lookup-key' |
| 1690 | (which see). | 1690 | \(which see). |
| 1691 | 1691 | ||
| 1692 | If optional argument ACCEPT-DEFAULT is non-nil, recognize default | 1692 | If optional argument ACCEPT-DEFAULT is non-nil, recognize default |
| 1693 | bindings; see the description of `lookup-key' for more details about this. */) | 1693 | bindings; 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, | |||
| 2493 | no matter what it is. | 2493 | no matter what it is. |
| 2494 | If FIRSTONLY has another non-nil value, prefer bindings | 2494 | If FIRSTONLY has another non-nil value, prefer bindings |
| 2495 | that use the modifier key specified in `where-is-preferred-modifier' | 2495 | that 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 | ||
| 2498 | If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside | 2498 | If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside |
| 2499 | menu-items. This makes it possible to search for a menu-item itself. | 2499 | menu-items. This makes it possible to search for a menu-item itself. |
| @@ -2724,7 +2724,7 @@ looked up in BUFFER. | |||
| 2724 | The optional argument PREFIX, if non-nil, should be a key sequence; | 2724 | The optional argument PREFIX, if non-nil, should be a key sequence; |
| 2725 | then we display only bindings that start with that prefix. | 2725 | then we display only bindings that start with that prefix. |
| 2726 | The optional argument MENUS, if non-nil, says to mention menu bindings. | 2726 | The 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; |