diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-04-20 15:12:10 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-04-20 15:12:10 +0300 |
commit | cad8913c89fa2c15d6d6ac4fe0c63b6731981472 (patch) | |
tree | 4688a8abd50fdb0b844633caa08957d21b5afeec /lisp/textmodes/fill.el | |
parent | 2b7eed23eb3aff338b737cce91d22bb464259a1a (diff) | |
download | emacs-cad8913c89fa2c15d6d6ac4fe0c63b6731981472.tar.gz emacs-cad8913c89fa2c15d6d6ac4fe0c63b6731981472.tar.bz2 emacs-cad8913c89fa2c15d6d6ac4fe0c63b6731981472.zip |
Improve filling-related documentation
* doc/emacs/text.texi (Auto Fill, Fill Commands): Mention special
line-breaking rules for CJK characters and the kinsoku rules.
(Bug#47856)
* lisp/textmodes/fill.el
(fill-separate-heterogeneous-words-with-space): Doc fix.
Diffstat (limited to 'lisp/textmodes/fill.el')
-rw-r--r-- | lisp/textmodes/fill.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index e9bef6ec801..6d283bd6f14 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -51,10 +51,12 @@ A value of nil means that any change in indentation starts a new paragraph." (defcustom fill-separate-heterogeneous-words-with-space nil "Non-nil means to use a space to separate words of a different kind. -This will be done with a word in the end of a line and a word in -the beginning of the next line when concatenating them for -filling those lines. Whether to use a space depends on how the -words are categorized." +For example, when an English word at the end of a line and a CJK word +at the beginning of the next line are joined into a single line, they +will be separated by a space if this variable is non-nil. +Whether to use a space to separate such words also depends on the entry +in `fill-nospace-between-words-table' for the characters before and +after the newline." :type 'boolean :group 'fill :version "26.1") |