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
2c13e47b
Commit
2c13e47b
authored
Dec 17, 2004
by
Juri Linkov
Browse files
(occur-accumulate-lines, occur-engine):
Make forcing deferred font-lock fontification jit-specific.
parent
132cf96d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/replace.el
lisp/replace.el
+4
-4
No files found.
lisp/ChangeLog
View file @
2c13e47b
2004-12-17 Juri Linkov
<juri
@
jurta.org
>
* replace.el (occur-accumulate-lines, occur-engine):
Make forcing deferred font-lock fontification jit-specific.
2004-12-17 Kim F. Storm
<storm
@
cua.dk
>
* mouse.el (mouse-1-click-follows-link): New defcustom.
...
...
lisp/replace.el
View file @
2c13e47b
...
...
@@ -799,9 +799,9 @@ If the value is nil, don't highlight the buffer names specially."
(
setq
count
(
+
count
(
if
forwardp
-1
1
)))
(
setq
beg
(
line-beginning-position
)
end
(
line-end-position
))
(
if
(
and
keep-props
fon
t-lock-mode
(
if
(
and
keep-props
(
boundp
'jit-lock-mode
)
ji
t-lock-mode
(
text-property-not-all
beg
end
'fontified
t
))
(
fon
t-lock-fontify-
region
beg
end
))
(
ji
t-lock-fontify-
now
beg
end
))
(
push
(
funcall
(
if
keep-props
#'
buffer-substring
...
...
@@ -1008,9 +1008,9 @@ See also `multi-occur'."
endpt
(
line-end-position
)))
(
setq
marker
(
make-marker
))
(
set-marker
marker
matchbeg
)
(
if
(
and
keep-props
fon
t-lock-mode
(
if
(
and
keep-props
(
boundp
'jit-lock-mode
)
ji
t-lock-mode
(
text-property-not-all
begpt
endpt
'fontified
t
))
(
fon
t-lock-fontify-
region
begpt
endpt
))
(
ji
t-lock-fontify-
now
begpt
endpt
))
(
setq
curstring
(
buffer-substring
begpt
endpt
))
;; Depropertize the string, and maybe
;; highlight the matches
...
...
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