summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-02-03 02:37:55 +0000
committerRichard M. Stallman <rms@gnu.org>1998-02-03 02:37:55 +0000
commitfe0e3d0ad997b9160b4b533c6146a54499abb893 (patch)
tree5e6fc8ded1e82247cda24b4cbb979b8bc8634a50
parent7852df347a5bf213aeef50121e011ad5bf6d0ad1 (diff)
downloademacs-fe0e3d0ad997b9160b4b533c6146a54499abb893.tar.gz
(fill-region-as-paragraph): Fix the test for any
non-ASCII characters, for deciding whether to do kinsoku.
-rw-r--r--lisp/textmodes/fill.el6
1 files 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