]> git.eshelyaron.com Git - emacs.git/commit
Add x-popup-menu-function
authorGerd Möllmann <gerd,moellmann@gmail.com>
Mon, 10 Feb 2025 06:55:43 +0000 (07:55 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:59:55 +0000 (09:59 +0100)
commit9cacee68c83f0360acd3ed15381ab7ee7aeeb05c
treef108b9246f835d3c48c581199588dec32d3092c0
parentcef76fcd2fb1a2dbb9093209ce4fda0a025f7e64
Add x-popup-menu-function

* src/menu.c (x_popup_menu_1): If non-nil call x-popup-menu-function.
(syms_of_menu): DEFSYM x-popup-menu-function, DEFVAR_LISP it.

(cherry picked from commit 17bf6b9efe5c40dfa92fa5ec64a99162304395cd)
src/menu.c