diff options
| author | Richard M. Stallman | 1997-08-09 03:41:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-09 03:41:42 +0000 |
| commit | 4dc0f0fc0e5e9f4e80cd9a192ac854697bc49d46 (patch) | |
| tree | 958d9897bd63bb9efff80b7b448e40e834d69fe6 | |
| parent | e42537fec784e410620c58c7c91229f47988f27e (diff) | |
| download | emacs-4dc0f0fc0e5e9f4e80cd9a192ac854697bc49d46.tar.gz emacs-4dc0f0fc0e5e9f4e80cd9a192ac854697bc49d46.zip | |
(enable-kinsoku): Doc fix.
| -rw-r--r-- | lisp/textmodes/fill.el | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 88a685c2562..5609eef944d 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -52,10 +52,10 @@ A value of nil means that any change in indentation starts a new paragraph." | |||
| 52 | If the function returns nil, then `fill-paragraph' does its normal work.") | 52 | If the function returns nil, then `fill-paragraph' does its normal work.") |
| 53 | 53 | ||
| 54 | (defvar enable-kinsoku t | 54 | (defvar enable-kinsoku t |
| 55 | "*Non-nil means enable `kinsoku' processing on filling paragraph. | 55 | "*Non-nil means enable \"kinsoku\" processing on filling paragraph. |
| 56 | `Kinsoku' processing is to prohibit specific characters to be placed | 56 | Kinsoku processing is designed to prevent certain characters from being |
| 57 | at beginning or end of line. See the documentation of kinsoku for | 57 | placed at the beginning or end of a line by filling. |
| 58 | more detail.") | 58 | See the documentation of `kinsoku' for more information.") |
| 59 | 59 | ||
| 60 | (defun set-fill-prefix () | 60 | (defun set-fill-prefix () |
| 61 | "Set the fill prefix to the current line up to point. | 61 | "Set the fill prefix to the current line up to point. |
| @@ -450,7 +450,11 @@ space does not end a sentence, so don't break a line there." | |||
| 450 | ;; Normally, move back over the single space between the words. | 450 | ;; Normally, move back over the single space between the words. |
| 451 | (if (= (preceding-char) ?\ ) (forward-char -1)) | 451 | (if (= (preceding-char) ?\ ) (forward-char -1)) |
| 452 | ;; Do KINSOKU processing. | 452 | ;; Do KINSOKU processing. |
| 453 | (if (and enable-multibyte-characters enable-kinsoku) | 453 | (if (and enable-multibyte-characters enable-kinsoku |
| 454 | (save-excursion | ||
| 455 | (goto-char from) | ||
| 456 | (skip-chars-forward "\0-\177" to) | ||
| 457 | (/= (point) to))) | ||
| 454 | (kinsoku linebeg))) | 458 | (kinsoku linebeg))) |
| 455 | 459 | ||
| 456 | ;; If the left margin and fill prefix by themselves | 460 | ;; If the left margin and fill prefix by themselves |