Mercurial > emacs
diff src/xmenu.c @ 39988:eac4e9ae201c
Change doc-string comments to `new style' [w/`doc:' keyword].
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 17 Oct 2001 03:16:12 +0000 |
parents | 91951fb5b9e5 |
children | 5fda2888718a |
line wrap: on
line diff
--- a/src/xmenu.c Wed Oct 17 03:11:30 2001 +0000 +++ b/src/xmenu.c Wed Oct 17 03:16:12 2001 +0000 @@ -37,7 +37,7 @@ #include <signal.h> #include <stdio.h> -#define DOC_STRINGS_IN_COMMENTS + #include "lisp.h" #include "termhooks.h" #include "keyboard.h" @@ -656,7 +656,7 @@ } DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, - /* Pop up a deck-of-cards menu and return user's selection. + doc: /* Pop up a deck-of-cards menu and return user's selection. POSITION is a position specification. This is either a mouse button event or a list ((XOFFSET YOFFSET) WINDOW) where XOFFSET and YOFFSET are positions in pixels from the top left @@ -688,8 +688,8 @@ With this form of menu, the return value is VALUE from the chosen item. If POSITION is nil, don't display the menu at all, just precalculate the -cached information about equivalent key sequences. */ - (position, menu)) +cached information about equivalent key sequences. */) + (position, menu) Lisp_Object position, menu; { Lisp_Object keymap, tem; @@ -881,7 +881,7 @@ #ifdef HAVE_MENUS DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, - /* Pop up a dialog box and return user's selection. + doc: /* Pop up a dialog box and return user's selection. POSITION specifies which frame to use. This is normally a mouse button event or a window or frame. If POSITION is t, it means to use the frame the mouse is on. @@ -895,8 +895,8 @@ An ITEM may also be just a string--that makes a nonselectable item. An ITEM may also be nil--that means to put all preceding items on the left of the dialog box and all following items on the right. -\(By default, approximately half appear on each side.) */ - (position, contents)) +\(By default, approximately half appear on each side.) */) + (position, contents) Lisp_Object position, contents; { struct frame * f = NULL; @@ -2849,8 +2849,8 @@ Qdebug_on_next_call = intern ("debug-on-next-call"); staticpro (&Qdebug_on_next_call); - DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame - /* Frame for which we are updating a menu. + DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame, + doc: /* Frame for which we are updating a menu. The enable predicate for a menu command should check this variable. */); Vmenu_updating_frame = Qnil;