From: Richard M. Stallman Date: Fri, 15 Jan 1999 14:47:50 +0000 (+0000) Subject: (make-flyspell-overlay): fix front stickiness. X-Git-Tag: emacs-20.4~873 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=739394c764d017b8411e9c4e48b6ae1d0735060b;p=emacs.git (make-flyspell-overlay): fix front stickiness. --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 56521877c7c..44664b01938 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -871,7 +871,7 @@ if the character at POS has any other property." BEG and END specify the range in the buffer of that word. FACE and MOUSE-FACE specify the `face' and `mouse-face' properties for the overlay." - (let ((flyspell-overlay (make-overlay beg end))) + (let ((flyspell-overlay (make-overlay beg end nil t nil))) (overlay-put flyspell-overlay 'face face) (overlay-put flyspell-overlay 'mouse-face mouse-face) (overlay-put flyspell-overlay 'flyspell-overlay t)