1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(thai-find-word-ends): Pay attention to

the case that we reach the end of buffer.
This commit is contained in:
Kenichi Handa 2005-03-31 07:38:37 +00:00
parent 7c315e1cff
commit e5729c6cf6
2 changed files with 4 additions and 1 deletions

View file

@ -10780,7 +10780,7 @@ the current word list."
;; character by character.
(while this
(setq pos (1+ pos)
char (char-after pos)
char (or (char-after pos) 0)
category-set (char-category-set char))
;; If the current sequence is recorded in `thai-word-table'
;; (i.e. (car THIS) is 1) and the following Thai character is