]> git.eshelyaron.com Git - emacs.git/commit
Prevent hanging in next-single-char-property-change
authorFederico Tedin <federicotedin@gmail.com>
Sun, 3 May 2020 13:47:56 +0000 (15:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 May 2020 07:27:06 +0000 (10:27 +0300)
commit1f149cb392ac4ed99dd1ce2da01178ff0490e746
tree3042d129d1242f949a843850de5887b19c666ae6
parent0d861f25b288d23368cc7522eb56654724fd758d
Prevent hanging in next-single-char-property-change

* src/textprop.c (Fnext_single_char_property_change): Clarify in
the doc string the behavior when LIMIT is past the end of OBJECT.
Stop the search when position gets to end of buffer, for when LIMIT
is beyond that.  (Bug#40000)
src/textprop.c