Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/macmenu.c Wed Jul 10 11:08:01 2002 +0000 +++ b/src/macmenu.c Thu Jul 11 14:18:02 2002 +0000 @@ -1369,7 +1369,7 @@ struct buffer *prev = current_buffer; Lisp_Object buffer; - int specpdl_count = specpdl_ptr - specpdl; + int specpdl_count = SPECPDL_INDEX (); int previous_menu_items_used = f->menu_bar_items_used; Lisp_Object *previous_items = (Lisp_Object *) alloca (previous_menu_items_used