diff options
| author | Dmitry Antipov | 2013-01-17 10:29:40 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-01-17 10:29:40 +0400 |
| commit | 468afbaceaeb045f69b1a47aa1550a2556cd7dfd (patch) | |
| tree | ff5bd77d87a3f52802196d04ef4c6ca493c47fe7 /src/nsmenu.m | |
| parent | 0e70695aa48cb34d8c3df6e4d4173b6adb474b23 (diff) | |
| download | emacs-468afbaceaeb045f69b1a47aa1550a2556cd7dfd.tar.gz emacs-468afbaceaeb045f69b1a47aa1550a2556cd7dfd.zip | |
* lisp.h (toplevel): Add comment about using Lisp_Save_Value
objects, related functions and macros.
(make_save_value): Adjust prototype.
(make_save_pointer): New prototype.
(SAFE_NALLOCA): Fix indentation. Use make_save_pointer.
(SAFE_ALLOCA_LISP): Adjust make_save_value usage.
* alloc.c (format_save_value): Rename to make_save_value.
(make_save_pointer): New function.
(record_xmalloc): Use make_save_pointer.
* dired.c, editfns.c, fileio.c, font.c, gtkutil.c, lread.c:
* nsmenu.m, nsterm.m, xfns.c, xmenu.c, xselect.c, keymap.c:
Change users of make_save_value to make_save_pointer.
Likewise for format_save_value and make_save_value.
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index b0369e76a27..6899e3575f5 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1440,7 +1440,7 @@ ns_popup_dialog (Lisp_Object position, Lisp_Object contents, Lisp_Object header) | |||
| 1440 | unwind_data->pool = pool; | 1440 | unwind_data->pool = pool; |
| 1441 | unwind_data->dialog = dialog; | 1441 | unwind_data->dialog = dialog; |
| 1442 | 1442 | ||
| 1443 | record_unwind_protect (pop_down_menu, make_save_value (unwind_data, 0)); | 1443 | record_unwind_protect (pop_down_menu, make_save_pointer (unwind_data)); |
| 1444 | popup_activated_flag = 1; | 1444 | popup_activated_flag = 1; |
| 1445 | tem = [dialog runDialogAt: p]; | 1445 | tem = [dialog runDialogAt: p]; |
| 1446 | unbind_to (specpdl_count, Qnil); /* calls pop_down_menu */ | 1446 | unbind_to (specpdl_count, Qnil); /* calls pop_down_menu */ |