diff options
| author | Gerd Möllmann | 2025-02-18 15:41:07 +0100 |
|---|---|---|
| committer | Gerd Möllmann | 2025-02-18 15:47:18 +0100 |
| commit | bf067daf0df9441ef94ffe6ba2b2d1add3a4ee39 (patch) | |
| tree | 0bf954416bd154770c9154b48c026f4b13ca593b | |
| parent | c54d6680d3622802709e79d2daac28218f65fb97 (diff) | |
| download | emacs-bf067daf0df9441ef94ffe6ba2b2d1add3a4ee39.tar.gz emacs-bf067daf0df9441ef94ffe6ba2b2d1add3a4ee39.zip | |
* src/menu.c (x_popup_menu_1): Use calln.
| -rw-r--r-- | src/menu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c index f7a3f55b070..c0245b42a48 100644 --- a/src/menu.c +++ b/src/menu.c | |||
| @@ -1112,10 +1112,7 @@ Lisp_Object | |||
| 1112 | x_popup_menu_1 (Lisp_Object position, Lisp_Object menu) | 1112 | x_popup_menu_1 (Lisp_Object position, Lisp_Object menu) |
| 1113 | { | 1113 | { |
| 1114 | if (!NILP (Vx_popup_menu_function)) | 1114 | if (!NILP (Vx_popup_menu_function)) |
| 1115 | { | 1115 | return calln (Qx_popup_menu_function, position, menu); |
| 1116 | Lisp_Object args[] = { Qx_popup_menu_function, position, menu, }; | ||
| 1117 | return run_hook_with_args (3, args, Ffuncall); | ||
| 1118 | } | ||
| 1119 | 1116 | ||
| 1120 | Lisp_Object keymap, tem, tem2 = Qnil; | 1117 | Lisp_Object keymap, tem, tem2 = Qnil; |
| 1121 | int xpos = 0, ypos = 0; | 1118 | int xpos = 0, ypos = 0; |