diff options
author | Marcin Borkowski <mbork@mbork.pl> | 2016-04-27 08:59:15 +0200 |
---|---|---|
committer | Marcin Borkowski <mbork@mbork.pl> | 2018-01-15 06:25:16 +0100 |
commit | a1f257d81c58eb3069928ed584b06c4bcb2c7111 (patch) | |
tree | 4dde4cbab4970421245c7dbabf9bce0970bf9d7f /doc/emacs/text.texi | |
parent | 5af5df1f7c20858dab762830e1a94994ceda425b (diff) | |
download | emacs-a1f257d81c58eb3069928ed584b06c4bcb2c7111.tar.gz emacs-a1f257d81c58eb3069928ed584b06c4bcb2c7111.tar.bz2 emacs-a1f257d81c58eb3069928ed584b06c4bcb2c7111.zip |
Add the function `fill-polish-nobreak-p'
* lisp/textmodes/fill.el (fill-polish-nobreak-p): Prevent
line-breaking after a single-letter word even if this word is not
preceded by a space. Fixes bug #20871.
Diffstat (limited to 'doc/emacs/text.texi')
-rw-r--r-- | doc/emacs/text.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 846d9fe8c62..2f180f82ca2 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -636,8 +636,11 @@ line. If a function returns a non-@code{nil} value, Emacs will not break the line there. Functions you can use there include: @code{fill-single-word-nobreak-p} (don't break after the first word of a sentence or before the last); @code{fill-single-char-nobreak-p} -(don't break after a one-letter word); and @code{fill-french-nobreak-p} -(don't break after @samp{(} or before @samp{)}, @samp{:} or @samp{?}). +(don't break after a one-letter word preceded by a whitespace +character); @code{fill-french-nobreak-p} (don't break after @samp{(} +or before @samp{)}, @samp{:} or @samp{?}); and +@code{fill-polish-nobreak-p} (don't break after a one letter word, +even if preceded by a non-whitespace character). @node Fill Prefix @subsection The Fill Prefix |