;; Copyright 2009 Kevin Ryde.

;; This file is part of miscbits-el.
;;
;; miscbits-el is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by the
;; Free Software Foundation; either version 3, or (at your option) any later
;; version.
;;
;; miscbits-el is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
;; Public License for more details.
;;
;; You should have received a copy of the GNU General Public License along
;; with miscbits-el; see the file COPYING.  Failing that, go to
;; <http://www.gnu.org/licenses/>.


(autoload 'emacs-lisp-url-nobreak-p     "nobreak-fade")
(autoload 'fill-single-letter-nobreak-p "nobreak-fade")

(add-hook 'fill-nobreak-predicate 'fill-single-letter-nobreak-p)
(add-hook 'fill-nobreak-predicate 'emacs-lisp-url-nobreak-p)

(setq fill-nobreak-predicate '(fill-single-word-nobreak-p))

jfks jfkds jfksd jfks djfk sdjf ksdjf ksdjkf jsdkf jsdk fjsd kfkjsd
fjsdkf



fill-single-word-nobreak-p doesn't allow punctuation before sentence-end

Foo fdjskf jdsk fksd fjksd jfk sdjfk sdj kfjsdkf jsdk "xxxxxx fjksd
last".

Blah 
