Fix off-by-one error in text-property-search-backward
* lisp/emacs-lisp/text-property-search.el (text-property-search-backward): Fix off-by-one error -- this would result in not finding the previous (non-)match when at the first character in a field.
This commit is contained in:
parent
504779f744
commit
e95c545180
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ and if a matching region is found, place point at the start of the region."
|
|||
(let ((origin (point))
|
||||
(ended nil)
|
||||
pos)
|
||||
(forward-char -1)
|
||||
;; Find the previous candidate.
|
||||
(while (not ended)
|
||||
(setq pos (previous-single-property-change (point) property))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue