changeset 67428:9e33a6897729

(compare-windows-highlight): Change overlay priority from 1 to 1000.
author Juri Linkov <juri@jurta.org>
date Fri, 09 Dec 2005 09:48:36 +0000
parents 055cc88a4fd0
children 3ff7903b19d7
files lisp/compare-w.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/compare-w.el	Fri Dec 09 09:47:30 2005 +0000
+++ b/lisp/compare-w.el	Fri Dec 09 09:48:36 2005 +0000
@@ -343,13 +343,13 @@
         (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)))