]> git.eshelyaron.com Git - emacs.git/commit
Fix 'text-property-search-backward' with 1-char long properties
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2022 09:25:50 +0000 (11:25 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2022 09:25:50 +0000 (11:25 +0200)
commitdffc34a2d4a2320acd2ce454115f2c9631eb4ce2
tree3d1848cb383bd2634b3d729a94769561cf4b2c64
parent1c9d7fba0ae7445f09b5137f077e9d894202be61
Fix 'text-property-search-backward' with 1-char long properties

* lisp/emacs-lisp/text-property-search.el
(text-property--find-end-backward): Don't miss the end of
text-property value at point.  This fixes searches backward when
the property is on a single character position.  (Bug#58937)
lisp/emacs-lisp/text-property-search.el