diff options
| author | Kenichi Handa | 2005-03-31 07:38:37 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-03-31 07:38:37 +0000 |
| commit | e5729c6cf66d54c620caed4949b6075d254d6b9d (patch) | |
| tree | bcbbc308ad0d87fa4e5c0034ebc1e1be5debe410 | |
| parent | 7c315e1cff9019c8af55921fab6f571e68b09623 (diff) | |
| download | emacs-e5729c6cf66d54c620caed4949b6075d254d6b9d.tar.gz emacs-e5729c6cf66d54c620caed4949b6075d254d6b9d.zip | |
(thai-find-word-ends): Pay attention to
the case that we reach the end of buffer.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/language/thai-word.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a0a670300dc..de590d8833c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2005-03-31 Kenichi Handa <handa@etlken2> | 1 | 2005-03-31 Kenichi Handa <handa@etlken2> |
| 2 | 2 | ||
| 3 | * language/thai-word.el (thai-find-word-ends): Pay attention to | ||
| 4 | the case that we reach the end of buffer. | ||
| 5 | |||
| 3 | * textmodes/fill.el (fill-text-properties-at): New function. | 6 | * textmodes/fill.el (fill-text-properties-at): New function. |
| 4 | (fill-newline): Use fill-text-properties-at instead of | 7 | (fill-newline): Use fill-text-properties-at instead of |
| 5 | text-properties-at. | 8 | text-properties-at. |
diff --git a/lisp/language/thai-word.el b/lisp/language/thai-word.el index 9c3ba81859e..2548a44ea80 100644 --- a/lisp/language/thai-word.el +++ b/lisp/language/thai-word.el | |||
| @@ -10780,7 +10780,7 @@ the current word list." | |||
| 10780 | ;; character by character. | 10780 | ;; character by character. |
| 10781 | (while this | 10781 | (while this |
| 10782 | (setq pos (1+ pos) | 10782 | (setq pos (1+ pos) |
| 10783 | char (char-after pos) | 10783 | char (or (char-after pos) 0) |
| 10784 | category-set (char-category-set char)) | 10784 | category-set (char-category-set char)) |
| 10785 | ;; If the current sequence is recorded in `thai-word-table' | 10785 | ;; If the current sequence is recorded in `thai-word-table' |
| 10786 | ;; (i.e. (car THIS) is 1) and the following Thai character is | 10786 | ;; (i.e. (car THIS) is 1) and the following Thai character is |