diff options
| author | Eli Zaretskii | 2025-12-06 14:18:55 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-12-06 14:18:55 +0200 |
| commit | 164f76a4740d813f024d83173503b1cd5fdd0bae (patch) | |
| tree | d446fcf4841f817b5e3a67f546773e5a86331eb6 | |
| parent | 598a3604d4ea67d1ebf3029f64d1babfa1dc2cc3 (diff) | |
| download | emacs-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.el | 6 |
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. |
| 54 | For example, when an English word at the end of a line and a CJK word | 54 | For example, when an English word at the end of a line and a CJK word |
| 55 | at the beginning of the next line are joined into a single line, they | 55 | at the beginning of the next line are joined into a single line, they |
| 56 | will be separated by a space if this variable is non-nil. | 56 | will 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 | |||
| 657 | width.) It leaves point at the beginning of the line following the | 657 | width.) It leaves point at the beginning of the line following the |
| 658 | region. | 658 | region. |
| 659 | 659 | ||
| 660 | Note that how paragraph breaks are removed in text that includes | ||
| 661 | characters from different scripts is affected by the value | ||
| 662 | of `fill-separate-heterogeneous-words-with-space', which see. | ||
| 663 | |||
| 660 | Normally, the command performs justification according to | 664 | Normally, the command performs justification according to |
| 661 | the `current-justification' function, but with a prefix arg, it | 665 | the `current-justification' function, but with a prefix arg, it |
| 662 | does full justification instead. | 666 | does full justification instead. |