emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107872: * vcursor.el (vcursor-mov


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107872: * vcursor.el (vcursor-move): Increase the priority of the overlay.
Date: Fri, 02 Nov 2012 02:31:01 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 107872
fixes bug: http://debbugs.gnu.org/9663
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2012-04-11 16:26:55 +0200
message:
  * vcursor.el (vcursor-move): Increase the priority of the overlay.
modified:
  lisp/ChangeLog
  lisp/vcursor.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-04-11 14:22:36 +0000
+++ b/lisp/ChangeLog    2012-04-11 14:26:55 +0000
@@ -1,3 +1,8 @@
+2012-04-11  Lars Magne Ingebrigtsen  <address@hidden>
+
+       * vcursor.el (vcursor-move): Increase the priority of the overlay
+       (bug#9663).
+
 2012-04-11  Deniz Dogan  <address@hidden>
 
        * net/rcirc.el (rcirc-kill-channel-buffers): New variable.

=== modified file 'lisp/vcursor.el'
--- a/lisp/vcursor.el   2012-02-08 02:12:24 +0000
+++ b/lisp/vcursor.el   2012-04-11 14:26:55 +0000
@@ -656,12 +656,13 @@
       (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'."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]