# HG changeset patch # User Richard M. Stallman # Date 871098102 0 # Node ID 8298b8a6a47d600442c38faa74118bd3550f5d36 # Parent 24bfe6095dfe5c5a65c958db3aca97b6f6bb1a3c (enable-kinsoku): Doc fix. diff -r 24bfe6095dfe -r 8298b8a6a47d lisp/textmodes/fill.el --- a/lisp/textmodes/fill.el Sat Aug 09 03:34:34 1997 +0000 +++ b/lisp/textmodes/fill.el Sat Aug 09 03:41:42 1997 +0000 @@ -52,10 +52,10 @@ If the function returns nil, then `fill-paragraph' does its normal work.") (defvar enable-kinsoku t - "*Non-nil means enable `kinsoku' processing on filling paragraph. -`Kinsoku' processing is to prohibit specific characters to be placed -at beginning or end of line. See the documentation of kinsoku for - more detail.") + "*Non-nil means enable \"kinsoku\" processing on filling paragraph. +Kinsoku processing is designed to prevent certain characters from being +placed at the beginning or end of a line by filling. +See the documentation of `kinsoku' for more information.") (defun set-fill-prefix () "Set the fill prefix to the current line up to point. @@ -450,7 +450,11 @@ ;; Normally, move back over the single space between the words. (if (= (preceding-char) ?\ ) (forward-char -1)) ;; Do KINSOKU processing. - (if (and enable-multibyte-characters enable-kinsoku) + (if (and enable-multibyte-characters enable-kinsoku + (save-excursion + (goto-char from) + (skip-chars-forward "\0-\177" to) + (/= (point) to))) (kinsoku linebeg))) ;; If the left margin and fill prefix by themselves