comparison lisp/emacs-lisp/easymenu.el @ 50298:9c1195ddde1a

(easy-menu-add-item): Align the docstring with the code.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 24 Mar 2003 17:28:10 +0000
parents 156d2f800199
children 8636083efe8b
comparison
equal deleted inserted replaced
50297:f04c9dad095e 50298:9c1195ddde1a
502 then ITEM replaces it. Otherwise, ITEM is added to this submenu. 502 then ITEM replaces it. Otherwise, ITEM is added to this submenu.
503 In the latter case, ITEM is normally added at the end of the submenu. 503 In the latter case, ITEM is normally added at the end of the submenu.
504 However, if BEFORE is a string and there is an item in the submenu 504 However, if BEFORE is a string and there is an item in the submenu
505 with that name, then ITEM is added before that item. 505 with that name, then ITEM is added before that item.
506 506
507 MAP should normally be a keymap; nil stands for the global menu-bar keymap. 507 MAP should normally be a keymap; nil stands for the local menu-bar keymap.
508 It can also be a symbol, which has earlier been used as the first 508 It can also be a symbol, which has earlier been used as the first
509 argument in a call to `easy-menu-define', or the value of such a symbol. 509 argument in a call to `easy-menu-define', or the value of such a symbol.
510 510
511 PATH is a list of strings for locating the submenu where ITEM is to be 511 PATH is a list of strings for locating the submenu where ITEM is to be
512 added. If PATH is nil, MAP itself is used. Otherwise, the first 512 added. If PATH is nil, MAP itself is used. Otherwise, the first