]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-region-as-paragraph): Fix the test for any
authorRichard M. Stallman <rms@gnu.org>
Tue, 3 Feb 1998 02:37:55 +0000 (02:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 3 Feb 1998 02:37:55 +0000 (02:37 +0000)
non-ASCII characters, for deciding whether to do kinsoku.

lisp/textmodes/fill.el

index d430ad0bc5c26e1966c8e0d74ce316644225a7e0..1b50e1e84d97feadc118a3784e96f317f514f7ec 100644 (file)
@@ -466,9 +466,9 @@ space does not end a sentence, so don't break a line there."
                  ;; Do KINSOKU processing.
                  (if (and enable-multibyte-characters enable-kinsoku
                           (save-excursion
-                            (goto-char from)
-                            (skip-chars-forward "\0-\177" to)
-                            (/= (point) to)))
+                            (goto-char (point-min))
+                            (skip-chars-forward "\0-\177")
+                            (/= (point) (point-max))))
                      (kinsoku linebeg)))
 
                ;; If the left margin and fill prefix by themselves