diff options
| author | YAMAMOTO Mitsuharu | 2006-05-05 06:44:10 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-05-05 06:44:10 +0000 |
| commit | 0e530e3b3621737b02a1da2be74848013e57b11d (patch) | |
| tree | 9f5e31706a579b705185adad8e78fd81a160fc10 /src | |
| parent | b99934e6ee11b725630081bfecc7e266eafb2805 (diff) | |
| download | emacs-0e530e3b3621737b02a1da2be74848013e57b11d.tar.gz emacs-0e530e3b3621737b02a1da2be74848013e57b11d.zip | |
(restore_menu_items, cleanup_popup_menu): Return a value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macmenu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macmenu.c b/src/macmenu.c index be565f89259..e7d69d5657c 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -318,6 +318,7 @@ restore_menu_items (saved) | |||
| 318 | menu_items_n_panes = XINT (XCAR (saved)); | 318 | menu_items_n_panes = XINT (XCAR (saved)); |
| 319 | saved = XCDR (saved); | 319 | saved = XCDR (saved); |
| 320 | menu_items_submenu_depth = XINT (XCAR (saved)); | 320 | menu_items_submenu_depth = XINT (XCAR (saved)); |
| 321 | return Qnil; | ||
| 321 | } | 322 | } |
| 322 | 323 | ||
| 323 | /* Push the whole state of menu_items processing onto the specpdl. | 324 | /* Push the whole state of menu_items processing onto the specpdl. |
| @@ -634,6 +635,7 @@ cleanup_popup_menu (arg) | |||
| 634 | Lisp_Object arg; | 635 | Lisp_Object arg; |
| 635 | { | 636 | { |
| 636 | discard_menu_items (); | 637 | discard_menu_items (); |
| 638 | return Qnil; | ||
| 637 | } | 639 | } |
| 638 | 640 | ||
| 639 | DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, | 641 | DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, |