summaryrefslogtreecommitdiff
path: root/lisp/compare-w.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-12-09 09:48:36 +0000
committerJuri Linkov <juri@jurta.org>2005-12-09 09:48:36 +0000
commit67019e7f8181f972a9766746e5afb37cd8d6a5e6 (patch)
treeb4a57f4d1115d53b755fb8422fd503c15414168b /lisp/compare-w.el
parent9bb3de4b314713ae5e64e137ddb9d8310e71b2f6 (diff)
downloademacs-67019e7f8181f972a9766746e5afb37cd8d6a5e6.tar.gz
(compare-windows-highlight): Change overlay priority from 1 to 1000.
Diffstat (limited to 'lisp/compare-w.el')
-rw-r--r--lisp/compare-w.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/compare-w.el b/lisp/compare-w.el
index 3fda5f5de76..e3e7bd3945d 100644
--- a/lisp/compare-w.el
+++ b/lisp/compare-w.el
@@ -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)))