diff options
| author | Paul Eggert | 2015-09-16 16:23:55 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-16 16:26:07 -0700 |
| commit | 032ce1c7d1afb23e6b1265d91c5a97e45de071ce (patch) | |
| tree | dab9ca1e540c23aeb15ee9ef8fdc6b78e1929b6d /src/keymap.c | |
| parent | 309d39b832ccd72f99cc726090ff03f7e146948d (diff) | |
| download | emacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.tar.gz emacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.zip | |
Omit unnecessary \ before paren in C docstrings
Although \( is needed in docstrings in Elisp code, it is not needed in
docstrings in C code, since C function definitiions do not start with
a parenthesis. The backslashes made the docstrings a bit harder to
read and to format in columns. Also, some C docstrings had ( in
column 1 and this did not appear to be causing any problems. So,
simplify C docstrings by replacing \( with ( and \) with ).
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c index 3668d4b24e2..6a8d129ce2b 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -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. */) |
| @@ -2492,7 +2492,7 @@ If FIRSTONLY is the symbol `non-ascii', return the first binding found, | |||
| 2492 | no matter what it is. | 2492 | no matter what it is. |
| 2493 | If FIRSTONLY has another non-nil value, prefer bindings | 2493 | If FIRSTONLY has another non-nil value, prefer bindings |
| 2494 | that use the modifier key specified in `where-is-preferred-modifier' | 2494 | that use the modifier key specified in `where-is-preferred-modifier' |
| 2495 | \(or their meta variants) and entirely reject menu bindings. | 2495 | (or their meta variants) and entirely reject menu bindings. |
| 2496 | 2496 | ||
| 2497 | If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside | 2497 | If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside |
| 2498 | menu-items. This makes it possible to search for a menu-item itself. | 2498 | menu-items. This makes it possible to search for a menu-item itself. |
| @@ -2723,7 +2723,7 @@ looked up in BUFFER. | |||
| 2723 | The optional argument PREFIX, if non-nil, should be a key sequence; | 2723 | The optional argument PREFIX, if non-nil, should be a key sequence; |
| 2724 | then we display only bindings that start with that prefix. | 2724 | then we display only bindings that start with that prefix. |
| 2725 | The optional argument MENUS, if non-nil, says to mention menu bindings. | 2725 | The optional argument MENUS, if non-nil, says to mention menu bindings. |
| 2726 | \(Ordinarily these are omitted from the output.) */) | 2726 | (Ordinarily these are omitted from the output.) */) |
| 2727 | (Lisp_Object buffer, Lisp_Object prefix, Lisp_Object menus) | 2727 | (Lisp_Object buffer, Lisp_Object prefix, Lisp_Object menus) |
| 2728 | { | 2728 | { |
| 2729 | Lisp_Object outbuf, shadow; | 2729 | Lisp_Object outbuf, shadow; |