aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.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/menu.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/menu.c')
-rw-r--r--src/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c
index e36fe260f24..dc82809629a 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1129,7 +1129,7 @@ If POSITION is t, it means to use the current mouse position.
1129MENU is a specifier for a menu. For the simplest case, MENU is a keymap. 1129MENU is a specifier for a menu. For the simplest case, MENU is a keymap.
1130The menu items come from key bindings that have a menu string as well as 1130The menu items come from key bindings that have a menu string as well as
1131a definition; actually, the "definition" in such a key binding looks like 1131a definition; actually, the "definition" in such a key binding looks like
1132\(STRING . REAL-DEFINITION). To give the menu a title, put a string into 1132(STRING . REAL-DEFINITION). To give the menu a title, put a string into
1133the keymap as a top-level element. 1133the keymap as a top-level element.
1134 1134
1135If REAL-DEFINITION is nil, that puts a nonselectable string in the menu. 1135If REAL-DEFINITION is nil, that puts a nonselectable string in the menu.
@@ -1491,7 +1491,7 @@ The return value is VALUE from the chosen item.
1491An ITEM may also be just a string--that makes a nonselectable item. 1491An ITEM may also be just a string--that makes a nonselectable item.
1492An ITEM may also be nil--that means to put all preceding items 1492An ITEM may also be nil--that means to put all preceding items
1493on the left of the dialog box and all following items on the right. 1493on the left of the dialog box and all following items on the right.
1494\(By default, approximately half appear on each side.) 1494(By default, approximately half appear on each side.)
1495 1495
1496If HEADER is non-nil, the frame title for the box is "Information", 1496If HEADER is non-nil, the frame title for the box is "Information",
1497otherwise it is "Question". 1497otherwise it is "Question".