diff options
| author | Glenn Morris | 2014-01-27 21:50:16 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-01-27 21:50:16 -0500 |
| commit | 793ffe819539d4f642631910598b9c8dc696ec38 (patch) | |
| tree | 427e29742730ec5e9487a9795c4138ba8d93115b /etc | |
| parent | afc123c7bfa0f8a88b52c1caa4f1b996e64fbe41 (diff) | |
| download | emacs-793ffe819539d4f642631910598b9c8dc696ec38.tar.gz emacs-793ffe819539d4f642631910598b9c8dc696ec38.zip | |
Doc for fill-single-char-nobreak-p
* doc/emacs/text.texi (Fill Commands): Mention fill-single-char-nobreak-p.
* lisp/textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
* etc/NEWS: Related edit.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -280,11 +280,10 @@ having just one space, no spaces, or reverting to the original | |||
| 280 | spacing. Like `just-one-space', it can handle or ignore newlines and | 280 | spacing. Like `just-one-space', it can handle or ignore newlines and |
| 281 | leave different number of spaces. | 281 | leave different number of spaces. |
| 282 | 282 | ||
| 283 | +++ | ||
| 283 | *** `fill-single-char-nobreak-p' prevents fill from breaking a line after | 284 | *** `fill-single-char-nobreak-p' prevents fill from breaking a line after |
| 284 | a 1-letter word, which is an error according to Polish and | 285 | a one-letter word, which is an error according to some rules of typography. |
| 285 | Czech typography rules. To globally enable this feature, evaluate: | 286 | To use it, add it to the `fill-nobreak-predicate' hook. |
| 286 | |||
| 287 | (add-hook 'fill-nobreak-predicate 'fill-single-char-nobreak-p) | ||
| 288 | 287 | ||
| 289 | +++ | 288 | +++ |
| 290 | ** Uniquify is enabled by default, with `post-forward-angle-brackets' style. | 289 | ** Uniquify is enabled by default, with `post-forward-angle-brackets' style. |