aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2007-10-26 20:35:31 +0000
committerDan Nicolaescu <[email protected]>2007-10-26 20:35:31 +0000
commit72229917b19701499430f1e6dc5ab401aecd5c99 (patch)
tree6b2604edfb77bfe9410286a90b6670b2504cc462
parente3d7bd8321719f25e22ba7857bfd8cbbd1982eb4 (diff)
(fill-nobreak-p): Replace obsolete alias
line-move-invisible-p with invisible-p, it was removed on 2007-08-29.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/fill.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 697789e7e1..e42a3b39df 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-26 Dan Nicolaescu <[email protected]>
+
+ * 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 <[email protected]>
* files.el (kill-emacs-query-functions): Doc fix;
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 9723568f22..6a0eb7a42c 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.