aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorPaul Eggert2015-09-16 16:23:55 -0700
committerPaul Eggert2015-09-16 16:26:07 -0700
commit032ce1c7d1afb23e6b1265d91c5a97e45de071ce (patch)
treedab9ca1e540c23aeb15ee9ef8fdc6b78e1929b6d /src/keymap.c
parent309d39b832ccd72f99cc726090ff03f7e146948d (diff)
downloademacs-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.c6
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,
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. */)
@@ -2492,7 +2492,7 @@ If FIRSTONLY is the symbol `non-ascii', return the first binding found,
2492no matter what it is. 2492no matter what it is.
2493If FIRSTONLY has another non-nil value, prefer bindings 2493If FIRSTONLY has another non-nil value, prefer bindings
2494that use the modifier key specified in `where-is-preferred-modifier' 2494that 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
2497If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside 2497If optional 4th arg NOINDIRECT is non-nil, don't extract the commands inside
2498menu-items. This makes it possible to search for a menu-item itself. 2498menu-items. This makes it possible to search for a menu-item itself.
@@ -2723,7 +2723,7 @@ looked up in BUFFER.
2723The optional argument PREFIX, if non-nil, should be a key sequence; 2723The optional argument PREFIX, if non-nil, should be a key sequence;
2724then we display only bindings that start with that prefix. 2724then we display only bindings that start with that prefix.
2725The optional argument MENUS, if non-nil, says to mention menu bindings. 2725The 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;