changeset 20822:654535610cf7

(fill-region-as-paragraph): Fix the test for any non-ASCII characters, for deciding whether to do kinsoku.
author Richard M. Stallman <rms@gnu.org>
date Tue, 03 Feb 1998 02:37:55 +0000
parents 18188475b33b
children 146647357199
files lisp/textmodes/fill.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Mon Feb 02 17:21:49 1998 +0000
+++ b/lisp/textmodes/fill.el	Tue Feb 03 02:37:55 1998 +0000
@@ -466,9 +466,9 @@
 		  ;; 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