diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 15:59:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 17:13:38 -0700 |
commit | 3f0a8a2e14669cf4a1f56e97f8b1299fced79796 (patch) | |
tree | dd5b4d0154a5be7ee9a04b3fcfdaa6689935b56a /lisp/cus-edit.el | |
parent | 12fd59bba0b04fb6727f4fa54e3305a65fae1d44 (diff) | |
download | emacs-3f0a8a2e14669cf4a1f56e97f8b1299fced79796.tar.gz emacs-3f0a8a2e14669cf4a1f56e97f8b1299fced79796.tar.bz2 emacs-3f0a8a2e14669cf4a1f56e97f8b1299fced79796.zip |
Use record_unwind_protect_ptr to avoid allocation
* src/term.c (struct tty_pop_down_menu): New type.
(tty_pop_down_menu, tty_menu_show): Use it, along with
record_unwind_protect_ptr, to avoid allocating a Lisp_Misc.
* src/xmenu.c (struct pop_down_menu): New type.
(pop_down_menu, x_menu_show): Use it, likewise.
* src/xterm.c (x_cr_destroy, x_cr_export_frames):
Use record_unwind_protect_pointer to avoid possibly allocating
a Lisp_Misc.
Diffstat (limited to 'lisp/cus-edit.el')
0 files changed, 0 insertions, 0 deletions