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 /doc | |
| 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 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index ba6430c4826..9cc901b87a2 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-01-28 Glenn Morris <rgm@gnu.org> | 1 | 2014-01-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * text.texi (Fill Commands): Mention fill-single-char-nobreak-p. | ||
| 4 | |||
| 3 | * indent.texi (Tab Stops): Updates for new tab-stop behavior. | 5 | * indent.texi (Tab Stops): Updates for new tab-stop behavior. |
| 4 | 6 | ||
| 5 | 2014-01-27 Glenn Morris <rgm@gnu.org> | 7 | 2014-01-27 Glenn Morris <rgm@gnu.org> |
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 4d19ddbf1a6..1d30740467e 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -562,10 +562,11 @@ customize the abnormal hook variable @code{fill-nobreak-predicate} | |||
| 562 | (@pxref{Hooks}). Each function in this hook is called with no | 562 | (@pxref{Hooks}). Each function in this hook is called with no |
| 563 | arguments, with point positioned where Emacs is considering breaking a | 563 | arguments, with point positioned where Emacs is considering breaking a |
| 564 | line. If a function returns a non-@code{nil} value, Emacs will not | 564 | line. If a function returns a non-@code{nil} value, Emacs will not |
| 565 | break the line there. Two functions you can use are | 565 | break the line there. Functions you can use there include: |
| 566 | @code{fill-single-word-nobreak-p} (don't break after the first word of | 566 | @code{fill-single-word-nobreak-p} (don't break after the first word of |
| 567 | a sentence or before the last) and @code{fill-french-nobreak-p} (don't | 567 | a sentence or before the last); @code{fill-single-char-nobreak-p} |
| 568 | break after @samp{(} or before @samp{)}, @samp{:} or @samp{?}). | 568 | (don't break after a one-letter word); and @code{fill-french-nobreak-p} |
| 569 | (don't break after @samp{(} or before @samp{)}, @samp{:} or @samp{?}). | ||
| 569 | 570 | ||
| 570 | @node Fill Prefix | 571 | @node Fill Prefix |
| 571 | @subsection The Fill Prefix | 572 | @subsection The Fill Prefix |