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
9bb3de4b
Commit
9bb3de4b
authored
Dec 09, 2005
by
Juri Linkov
Browse files
(ispell-highlight-spelling-error-overlay):
Change overlay priority from 1 to 1001. Reuse existing overlay.
parent
a46961de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lisp/textmodes/ispell.el
lisp/textmodes/ispell.el
+5
-3
No files found.
lisp/textmodes/ispell.el
View file @
9bb3de4b
...
...
@@ -2307,11 +2307,13 @@ otherwise it is displayed normally.
The variable `ispell-highlight-face' selects the face to use for highlighting."
(
if
highlight
(
progn
(
if
ispell-overlay
(
move-overlay
ispell-overlay
start
end
(
current-buffer
))
(
setq
ispell-overlay
(
make-overlay
start
end
))
(
overlay-put
ispell-overlay
'priority
1
)
;higher than lazy overlays
(
overlay-put
ispell-overlay
'priority
100
1
)
;higher than lazy overlays
(
overlay-put
ispell-overlay
'face
ispell-highlight-face
))
(
delete-overlay
ispell-overlay
))
(
if
ispell-overlay
(
delete-overlay
ispell-overlay
)))
(
if
(
and
ispell-lazy-highlight
(
boundp
'lazy-highlight-cleanup
))
(
if
highlight
(
let
((
isearch-string
...
...
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