From: Dan Nicolaescu Date: Fri, 26 Oct 2007 20:35:31 +0000 (+0000) Subject: (fill-nobreak-p): Replace obsolete alias X-Git-Tag: emacs-pretest-23.0.90~10048 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72229917b19701499430f1e6dc5ab401aecd5c99;p=emacs.git (fill-nobreak-p): Replace obsolete alias line-move-invisible-p with invisible-p, it was removed on 2007-08-29. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 697789e7e17..e42a3b39df0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2007-10-26 Dan Nicolaescu + + * textmodes/fill.el (fill-nobreak-p): Replace obsolete alias + line-move-invisible-p with invisible-p, it was removed on + 2007-08-29. + 2007-10-26 Juanma Barranquero * files.el (kill-emacs-query-functions): Doc fix; diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 9723568f220..6a0eb7a42cc 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -344,7 +344,7 @@ be tested. If it returns t, fill commands do not break the line there." Can be customized with the variables `fill-nobreak-predicate' and `fill-nobreak-invisible'." (or - (and fill-nobreak-invisible (line-move-invisible-p (point))) + (and fill-nobreak-invisible (invisible-p (point))) (unless (bolp) (or ;; Don't break after a period followed by just one space.