]> git.eshelyaron.com Git - emacs.git/commitdiff
shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol character if...
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 7 Dec 2010 01:21:09 +0000 (01:21 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 7 Dec 2010 01:21:09 +0000 (01:21 +0000)
lisp/gnus/ChangeLog
lisp/gnus/shr.el

index 0e34fbc5f647fd9df1226bbbfd82da0792cb8cb9..c04462070288f7e3412967064dd14954a32c4fb2 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
+       character if a non-breakable character follows.
+
 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
index fafe3d94dea8f7e3098e0eb6bce09c22d375dc1d..4f3af112a3208e2469e740d32911df5ca9fd32bd 100644 (file)
@@ -304,8 +304,8 @@ redirects somewhere else."
                    (if (eq (preceding-char) ?')
                        (not (memq (char-after (- (point) 2))
                                   (list nil ?\n ? )))
-                     ;; There're some kinsoku CJK chars that aren't breakable.
                      (and (shr-char-kinsoku-bol-p (preceding-char))
+                          (shr-char-breakable-p (following-char))
                           (not (shr-char-kinsoku-bol-p (following-char)))))
                    (shr-char-kinsoku-eol-p (following-char))))
       (backward-char 1))