xwidget: Fix xwidget-at misinterpreting non-xwidget text-properties
authorGeorge Huebner <george@feyor.sh>
Sun, 14 Jul 2024 06:46:07 +0000 (01:46 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 29 Aug 2024 12:11:55 +0000 (15:11 +0300)
commitd05d8c336c82457dcad3b924b19c3bb57ff0e791
tree3e333c8a6d2cb2eb795ab79bad42b291083b20de
parent13f69f254cfacfcc780b49c34e044b39dc333732
xwidget: Fix xwidget-at misinterpreting non-xwidget text-properties

'xwidget-open' wrongly assumed the the text-property at
min-position is an xwidget, if it exists; the fix is just
returning nil if the text-property isn't an xwidget.
* lisp/xwidget.el (xwidget-at): Use 'ignore-errors'.  (Bug#72848)

Copyright-paperwork-exempt: yes
lisp/xwidget.el