diff options
| -rw-r--r-- | lisp/textmodes/fill.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index a563cb52d72..14f7e23d4c0 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -434,6 +434,10 @@ space does not end a sentence, so don't break a line there." | |||
| 434 | (while (search-forward "\n" nil t) | 434 | (while (search-forward "\n" nil t) |
| 435 | (let ((prev (char-before (match-beginning 0))) | 435 | (let ((prev (char-before (match-beginning 0))) |
| 436 | (next (following-char))) | 436 | (next (following-char))) |
| 437 | (if (cmpcharp prev) | ||
| 438 | (setq prev (composite-char-component prev 0))) | ||
| 439 | (if (cmpcharp next) | ||
| 440 | (setq next (composite-char-component next 0))) | ||
| 437 | (if (and (or (aref (char-category-set next) ?|) | 441 | (if (and (or (aref (char-category-set next) ?|) |
| 438 | (aref (char-category-set prev) ?|)) | 442 | (aref (char-category-set prev) ?|)) |
| 439 | (or (get-charset-property (char-charset prev) | 443 | (or (get-charset-property (char-charset prev) |