diff options
| author | Kenichi Handa | 1998-10-19 00:40:10 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-10-19 00:40:10 +0000 |
| commit | 22c47bc5ff6bbf1ecb9a72a19820d5930b733798 (patch) | |
| tree | c4e8c63beb9f0326de2f9e534c2fd4b05870e47d | |
| parent | 97323804943da750d50113dbffb34e7ec0bb0f7b (diff) | |
| download | emacs-22c47bc5ff6bbf1ecb9a72a19820d5930b733798.tar.gz emacs-22c47bc5ff6bbf1ecb9a72a19820d5930b733798.zip | |
(do-auto-fill): Don't check kinsoku-enable here.
Don't call kinsoku directly, intead call fill-find-break-point.
| -rw-r--r-- | lisp/simple.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 24e7597ff4d..d8acf1f9c25 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2986,9 +2986,12 @@ Setting this variable automatically makes it local to the current buffer.") | |||
| 2986 | (skip-chars-backward " \t") | 2986 | (skip-chars-backward " \t") |
| 2987 | ;; Break the line after/before \c|. | 2987 | ;; Break the line after/before \c|. |
| 2988 | (forward-char 1)))) | 2988 | (forward-char 1)))) |
| 2989 | (if (and enable-kinsoku enable-multibyte-characters) | 2989 | (if enable-multibyte-characters |
| 2990 | (kinsoku (save-excursion | 2990 | (let ((charset (charset-after (1- (point))))) |
| 2991 | (forward-line 0) (point)))) | 2991 | (if (eq charset 'ascii) |
| 2992 | (setq charset (charset-after (point)))) | ||
| 2993 | (if (not (eq charset 'ascii)) | ||
| 2994 | (fill-find-break-point charset after-prefix)))) | ||
| 2992 | ;; Let fill-point be set to the place where we end up. | 2995 | ;; Let fill-point be set to the place where we end up. |
| 2993 | ;; But move back before any whitespace here. | 2996 | ;; But move back before any whitespace here. |
| 2994 | (skip-chars-backward " \t") | 2997 | (skip-chars-backward " \t") |