changeset 16417:fb6785d0c256

(newline): Use buffer-has-markers-at.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Oct 1996 03:11:00 +0000
parents c7622616333c
children cf4260218aec
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Fri Oct 11 02:34:27 1996 +0000
+++ b/lisp/simple.el	Fri Oct 11 03:11:00 1996 +0000
@@ -39,6 +39,8 @@
   ;; 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.