1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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.
This commit is contained in:
Eli Zaretskii 2021-04-20 15:12:10 +03:00
parent 2b7eed23eb
commit cad8913c89
2 changed files with 33 additions and 15 deletions

View file

@ -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")