From 0f9575fb662b05820dd3f4027d82be4d7959bc0e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 12 Jan 2025 08:24:39 +0200 Subject: [PATCH] ; * src/keymap.c: Fix last change (bug#75219). (cherry picked from commit 412c1a4f0e1df8c82bd94f02e21c1ef62b3d53d5) --- src/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keymap.c b/src/keymap.c index 733d8d16031..5c0ddcd1d9d 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1740,7 +1740,6 @@ like in the respective argument of `key-binding'. */) if (CONSP (string) && STRINGP (XCAR (string))) { Lisp_Object pos = XCDR (string); - Lisp_Object pos_area = POSN_POSN (position); string = XCAR (string); if (FIXNUMP (pos) && XFIXNUM (pos) >= 0 @@ -1748,6 +1747,7 @@ like in the respective argument of `key-binding'. */) { Lisp_Object map = Fget_text_property (pos, Qlocal_map, string); + Lisp_Object pos_area = POSN_POSN (position); /* For clicks on mode line or header line, override the maps we found at POSITION unconditionally, even if the corresponding properties of the mode- or -- 2.39.5