aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorDaniel Colascione2012-09-17 04:07:36 -0800
committerDaniel Colascione2012-09-17 04:07:36 -0800
commit2ab329f3b5d52a39f0a45c3d9c129f1c19560142 (patch)
tree6dd6784d63e54cb18071df8e28fbdbc27d418728 /src/menu.c
parentf701ab72dd55460d23c8b029550aa4d7ecef3cfa (diff)
parentbb7dce392f6d9d5fc4b9d7de09ff920a52f07669 (diff)
downloademacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.tar.gz
emacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.zip
Merge from trunk
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/menu.c b/src/menu.c
index 336e1a9e31d..31b96cf4405 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -20,7 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21#include <config.h> 21#include <config.h>
22#include <stdio.h> 22#include <stdio.h>
23#include <setjmp.h>
24#include <limits.h> /* for INT_MAX */ 23#include <limits.h> /* for INT_MAX */
25 24
26#include "lisp.h" 25#include "lisp.h"
@@ -737,7 +736,7 @@ digest_single_submenu (int start, int end, int top_level_items)
737 736
738 /* All items should be contained in panes. */ 737 /* All items should be contained in panes. */
739 if (panes_seen == 0) 738 if (panes_seen == 0)
740 abort (); 739 emacs_abort ();
741 740
742 item_name = AREF (menu_items, i + MENU_ITEMS_ITEM_NAME); 741 item_name = AREF (menu_items, i + MENU_ITEMS_ITEM_NAME);
743 enable = AREF (menu_items, i + MENU_ITEMS_ITEM_ENABLE); 742 enable = AREF (menu_items, i + MENU_ITEMS_ITEM_ENABLE);
@@ -811,7 +810,7 @@ digest_single_submenu (int start, int end, int top_level_items)
811 else if (EQ (type, QCtoggle)) 810 else if (EQ (type, QCtoggle))
812 wv->button_type = BUTTON_TYPE_TOGGLE; 811 wv->button_type = BUTTON_TYPE_TOGGLE;
813 else 812 else
814 abort (); 813 emacs_abort ();
815 814
816 wv->selected = !NILP (selected); 815 wv->selected = !NILP (selected);
817 if (! STRINGP (help)) 816 if (! STRINGP (help))