Mercurial > emacs
comparison src/macmenu.c @ 46293:1fb8f75062c6
Use macro SPECPDL_INDEX.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 11 Jul 2002 14:18:02 +0000 |
parents | 39cdf9669519 |
children | 40db0673e6f0 |
comparison
equal
deleted
inserted
replaced
46292:712d0161e499 | 46293:1fb8f75062c6 |
---|---|
1367 { | 1367 { |
1368 /* Make a widget-value tree representing the entire menu trees. */ | 1368 /* Make a widget-value tree representing the entire menu trees. */ |
1369 | 1369 |
1370 struct buffer *prev = current_buffer; | 1370 struct buffer *prev = current_buffer; |
1371 Lisp_Object buffer; | 1371 Lisp_Object buffer; |
1372 int specpdl_count = specpdl_ptr - specpdl; | 1372 int specpdl_count = SPECPDL_INDEX (); |
1373 int previous_menu_items_used = f->menu_bar_items_used; | 1373 int previous_menu_items_used = f->menu_bar_items_used; |
1374 Lisp_Object *previous_items | 1374 Lisp_Object *previous_items |
1375 = (Lisp_Object *) alloca (previous_menu_items_used | 1375 = (Lisp_Object *) alloca (previous_menu_items_used |
1376 * sizeof (Lisp_Object)); | 1376 * sizeof (Lisp_Object)); |
1377 | 1377 |