Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
67019e7f
Commit
67019e7f
authored
Dec 09, 2005
by
Juri Linkov
Browse files
(compare-windows-highlight): Change overlay priority from 1 to 1000.
parent
9bb3de4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/compare-w.el
lisp/compare-w.el
+2
-2
No files found.
lisp/compare-w.el
View file @
67019e7f
...
...
@@ -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
1
000
))
(
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
1
000
))
(
overlay-put
compare-windows-overlay2
'window
w2
)
;; Remove highlighting before next command is executed
(
add-hook
'pre-command-hook
'compare-windows-dehighlight
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment