summaryrefslogtreecommitdiff
path: root/lisp
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
commit4ab577cd017a380121249e52d58cd488fa28cc52 (patch)
treedcb037fb942b71972a4b3ba63435225023cee1c7 /lisp
parent11f23ea2c1094bae58e28a0a97426199874ebb41 (diff)
downloademacs-4ab577cd017a380121249e52d58cd488fa28cc52.tar.gz
emacs-4ab577cd017a380121249e52d58cd488fa28cc52.tar.bz2
emacs-4ab577cd017a380121249e52d58cd488fa28cc52.zip
(fill-region-as-paragraph): Fix the test for any
non-ASCII characters, for deciding whether to do kinsoku.
Diffstat (limited to 'lisp')
-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