diff options
| author | Dan Nicolaescu | 2007-10-26 20:35:31 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-10-26 20:35:31 +0000 |
| commit | 72229917b19701499430f1e6dc5ab401aecd5c99 (patch) | |
| tree | 6b2604edfb77bfe9410286a90b6670b2504cc462 | |
| parent | e3d7bd8321719f25e22ba7857bfd8cbbd1982eb4 (diff) | |
| download | emacs-72229917b19701499430f1e6dc5ab401aecd5c99.tar.gz emacs-72229917b19701499430f1e6dc5ab401aecd5c99.zip | |
(fill-nobreak-p): Replace obsolete alias
line-move-invisible-p with invisible-p, it was removed on
2007-08-29.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/textmodes/fill.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 697789e7e17..e42a3b39df0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * textmodes/fill.el (fill-nobreak-p): Replace obsolete alias | ||
| 4 | line-move-invisible-p with invisible-p, it was removed on | ||
| 5 | 2007-08-29. | ||
| 6 | |||
| 1 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> | 7 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * files.el (kill-emacs-query-functions): Doc fix; | 9 | * 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." | |||
| 344 | Can be customized with the variables `fill-nobreak-predicate' | 344 | Can be customized with the variables `fill-nobreak-predicate' |
| 345 | and `fill-nobreak-invisible'." | 345 | and `fill-nobreak-invisible'." |
| 346 | (or | 346 | (or |
| 347 | (and fill-nobreak-invisible (line-move-invisible-p (point))) | 347 | (and fill-nobreak-invisible (invisible-p (point))) |
| 348 | (unless (bolp) | 348 | (unless (bolp) |
| 349 | (or | 349 | (or |
| 350 | ;; Don't break after a period followed by just one space. | 350 | ;; Don't break after a period followed by just one space. |