]> git.eshelyaron.com Git - emacs.git/commitdiff
(compare-windows-highlight): Change overlay priority from 1 to 1000.
authorJuri Linkov <juri@jurta.org>
Fri, 9 Dec 2005 09:48:36 +0000 (09:48 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 9 Dec 2005 09:48:36 +0000 (09:48 +0000)
lisp/compare-w.el

index 3fda5f5de76a41297641673ae56ec307c180b30b..e3e7bd3945df9908446e2ff61f189cea8e0b8e9e 100644 (file)
@@ -343,13 +343,13 @@ on third call it again advances points to the next difference and so on."
         (move-overlay compare-windows-overlay1 beg1 end1 b1)
       (setq compare-windows-overlay1 (make-overlay beg1 end1 b1))
       (overlay-put compare-windows-overlay1 'face 'compare-windows)
-      (overlay-put compare-windows-overlay1 'priority 1))
+      (overlay-put compare-windows-overlay1 'priority 1000))
     (overlay-put compare-windows-overlay1 'window w1)
     (if compare-windows-overlay2
         (move-overlay compare-windows-overlay2 beg2 end2 b2)
       (setq compare-windows-overlay2 (make-overlay beg2 end2 b2))
       (overlay-put compare-windows-overlay2 'face 'compare-windows)
-      (overlay-put compare-windows-overlay2 'priority 1))
+      (overlay-put compare-windows-overlay2 'priority 1000))
     (overlay-put compare-windows-overlay2 'window w2)
     ;; Remove highlighting before next command is executed
     (add-hook 'pre-command-hook 'compare-windows-dehighlight)))