From: Eli Zaretskii Date: Sun, 12 Jan 2025 06:24:39 +0000 (+0200) Subject: ; * src/keymap.c: Fix last change (bug#75219). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f9575fb662b05820dd3f4027d82be4d7959bc0e;p=emacs.git ; * src/keymap.c: Fix last change (bug#75219). (cherry picked from commit 412c1a4f0e1df8c82bd94f02e21c1ef62b3d53d5) --- 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