aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-12-06 14:18:55 +0200
committerEli Zaretskii2025-12-06 14:18:55 +0200
commit164f76a4740d813f024d83173503b1cd5fdd0bae (patch)
treed446fcf4841f817b5e3a67f546773e5a86331eb6
parent598a3604d4ea67d1ebf3029f64d1babfa1dc2cc3 (diff)
downloademacs-164f76a4740d813f024d83173503b1cd5fdd0bae.tar.gz
emacs-164f76a4740d813f024d83173503b1cd5fdd0bae.zip
; Improve documentation of 'fill-region-as-paragraph'
* lisp/textmodes/fill.el (fill-region-as-paragraph-default) (fill-separate-heterogeneous-words-with-space): Doc fixes. (Bug#79575)
-rw-r--r--lisp/textmodes/fill.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index a6858fdea8b..b291cbef390 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -50,7 +50,7 @@ A value of nil means that any change in indentation starts a new paragraph."
50 :safe #'booleanp) 50 :safe #'booleanp)
51 51
52(defcustom fill-separate-heterogeneous-words-with-space nil 52(defcustom fill-separate-heterogeneous-words-with-space nil
53 "Non-nil means to use a space to separate words of a different kind. 53 "Non-nil means to use a space to separate words of different scripts.
54For example, when an English word at the end of a line and a CJK word 54For example, when an English word at the end of a line and a CJK word
55at the beginning of the next line are joined into a single line, they 55at the beginning of the next line are joined into a single line, they
56will be separated by a space if this variable is non-nil. 56will be separated by a space if this variable is non-nil.
@@ -657,6 +657,10 @@ functions. (In most cases, the variable `fill-column' controls the
657width.) It leaves point at the beginning of the line following the 657width.) It leaves point at the beginning of the line following the
658region. 658region.
659 659
660Note that how paragraph breaks are removed in text that includes
661characters from different scripts is affected by the value
662of `fill-separate-heterogeneous-words-with-space', which see.
663
660Normally, the command performs justification according to 664Normally, the command performs justification according to
661the `current-justification' function, but with a prefix arg, it 665the `current-justification' function, but with a prefix arg, it
662does full justification instead. 666does full justification instead.