diff options
| author | Richard M. Stallman | 1996-10-11 03:11:00 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-11 03:11:00 +0000 |
| commit | fd97770325a6485cbabb7d728904f3d33534c0b7 (patch) | |
| tree | 7fd74f93311f2fcd8ed181f51a8e3636e923a4a6 | |
| parent | 8941c0cf18bad2f7b229113d7bfd8b2675c801d1 (diff) | |
| download | emacs-fd97770325a6485cbabb7d728904f3d33534c0b7.tar.gz emacs-fd97770325a6485cbabb7d728904f3d33534c0b7.zip | |
(newline): Use buffer-has-markers-at.
| -rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 5f45ded7224..42d5a79abf2 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -39,6 +39,8 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long." | |||
| 39 | ;; the end of the previous line. | 39 | ;; the end of the previous line. |
| 40 | (let ((flag (and (not (bobp)) | 40 | (let ((flag (and (not (bobp)) |
| 41 | (bolp) | 41 | (bolp) |
| 42 | ;; Make sure there are no markers here. | ||
| 43 | (not (buffer-has-markers-at (1- (point)))) | ||
| 42 | ;; Make sure the newline before point isn't intangible. | 44 | ;; Make sure the newline before point isn't intangible. |
| 43 | (not (get-char-property (1- (point)) 'intangible)) | 45 | (not (get-char-property (1- (point)) 'intangible)) |
| 44 | ;; Make sure the newline before point isn't read-only. | 46 | ;; Make sure the newline before point isn't read-only. |