From 4ab577cd017a380121249e52d58cd488fa28cc52 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Feb 1998 02:37:55 +0000 Subject: [PATCH] (fill-region-as-paragraph): Fix the test for any non-ASCII characters, for deciding whether to do kinsoku. --- lisp/textmodes/fill.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5