From: Eli Zaretskii Date: Sat, 16 Jun 2018 07:17:05 +0000 (+0300) Subject: Fix a typo in xmenu.c X-Git-Tag: emacs-27.0.90~4842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31b2680bc955b99fd812d904a95271afbc3882db;p=emacs.git Fix a typo in xmenu.c * src/xmenu.c (x_menu_show): Replace a call to record_unwind_protect_pointer with record_unwind_protect_ptr. (Bug#31856) --- diff --git a/src/xmenu.c b/src/xmenu.c index 2fbf9e8bf68..22995d8c7e8 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -2290,8 +2290,8 @@ x_menu_show (struct frame *f, int x, int y, int menuflags, XMenuActivateSetWaitFunction (x_menu_wait_for_event, FRAME_X_DISPLAY (f)); #endif - record_unwind_protect_pointer (pop_down_menu, - &(struct pop_down_menu) {f, menu}); + record_unwind_protect_ptr (pop_down_menu, + &(struct pop_down_menu) {f, menu}); /* Help display under X won't work because XMenuActivate contains a loop that doesn't give Emacs a chance to process it. */