]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:44 +0000 (09:51 +0200)
commita74a99b8cc0b215959cff1076b4d7da6e2b0ad73
treec00944da8beb4ce77a5b4a5db8a4fc28184a22c4
parentc0b8651477c1e47c198045d236b8e85d8a062b56
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
(cherry picked from commit d05d8c336c82457dcad3b924b19c3bb57ff0e791)
lisp/xwidget.el