From: Richard M. Stallman Date: Tue, 3 Feb 1998 02:37:55 +0000 (+0000) Subject: (fill-region-as-paragraph): Fix the test for any X-Git-Tag: emacs-20.3~2252 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ab577cd017a380121249e52d58cd488fa28cc52;p=emacs.git (fill-region-as-paragraph): Fix the test for any non-ASCII characters, for deciding whether to do kinsoku. --- diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index d430ad0bc5c..1b50e1e84d9 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -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