]> git.eshelyaron.com Git - emacs.git/commit
(event-start/end): Fix part of bug#52092
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 24 Sep 2022 14:38:09 +0000 (10:38 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 24 Sep 2022 14:38:09 +0000 (10:38 -0400)
commitc1cead89f5f230d9bd10da54f0e959d2570a037b
tree0642ca9350271bca7960ca080dae71799e123451
parent0cc107ac090a67a01e237d48ee5c158eb95f6337
(event-start/end): Fix part of bug#52092

When synthesizing a posn for keyboard events, make sure the `posn-point`
i the same as `point`.

* lisp/subr.el (event--posn-at-point): New function.
(event-start, event-end): Use it.
lisp/subr.el