* vcursor.el (vcursor-move): Increase the priority of the overlay.

Fixes: debbugs:9663
This commit is contained in:
Lars Magne Ingebrigtsen 2012-04-11 16:26:55 +02:00
parent a63067fcfe
commit b49f886ef4
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* vcursor.el (vcursor-move): Increase the priority of the overlay
(bug#9663).
2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
* net/rcirc.el (rcirc-kill-channel-buffers): New variable.

View file

@ -656,12 +656,13 @@ another window. With LEAVE-W, use the current `vcursor-window'."
(or window-system
(display-color-p)
(overlay-put vcursor-overlay 'before-string vcursor-string))
(overlay-put vcursor-overlay 'face 'vcursor))
(overlay-put vcursor-overlay 'face 'vcursor)
;; 200 is purely an arbitrary "high" number. See bug#9663.
(overlay-put vcursor-overlay 'priority 200))
(or leave-w (vcursor-find-window nil t))
;; vcursor-window now contains the right buffer
(or (pos-visible-in-window-p pt vcursor-window)
(set-window-point vcursor-window pt)))
)
(set-window-point vcursor-window pt))))
(defun vcursor-insert (text)
"Insert TEXT, respecting `vcursor-interpret-input'."