From: Richard M. Stallman Date: Fri, 11 Oct 1996 03:11:00 +0000 (+0000) Subject: (newline): Use buffer-has-markers-at. X-Git-Tag: emacs-20.1~3527 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd97770325a6485cbabb7d728904f3d33534c0b7;p=emacs.git (newline): Use buffer-has-markers-at. --- 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." ;; the end of the previous line. (let ((flag (and (not (bobp)) (bolp) + ;; Make sure there are no markers here. + (not (buffer-has-markers-at (1- (point)))) ;; Make sure the newline before point isn't intangible. (not (get-char-property (1- (point)) 'intangible)) ;; Make sure the newline before point isn't read-only.