From: Eli Zaretskii Date: Sat, 5 Oct 2013 17:38:22 +0000 (+0300) Subject: Improve commentary. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1328^2~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f9e5cb0ad3a19e7c630d469720ec3576e5c17514;p=emacs.git Improve commentary. --- diff --git a/src/menu.c b/src/menu.c index c3ab358bebf..447faf60b1f 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1087,6 +1087,9 @@ into menu items. */) /* Find the menu bar item under `col'. */ item = Qnil; items = FRAME_MENU_BAR_ITEMS (f); + /* This loop assumes a single menu-bar line, and will fail to + find an item if it is not in the first line. Note that + make_lispy_event in keyboard.c makes the same assumption. */ for (i = 0; i < ASIZE (items); i += 4) { Lisp_Object pos, str;