diff options
| author | Juri Linkov | 2004-12-17 16:58:54 +0000 |
|---|---|---|
| committer | Juri Linkov | 2004-12-17 16:58:54 +0000 |
| commit | 2c13e47b067f1a59d485c74c2b7b18d52ea29bc6 (patch) | |
| tree | f9af79ee7ed798d4bffceecf33e3c3a76b7274cb /lisp/replace.el | |
| parent | 132cf96dff182358577c15bcd401eb3cd9bd6f4a (diff) | |
| download | emacs-2c13e47b067f1a59d485c74c2b7b18d52ea29bc6.tar.gz emacs-2c13e47b067f1a59d485c74c2b7b18d52ea29bc6.zip | |
(occur-accumulate-lines, occur-engine):
Make forcing deferred font-lock fontification jit-specific.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 8f81a53bf7e..775ad0ffb05 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -799,9 +799,9 @@ If the value is nil, don't highlight the buffer names specially." | |||
| 799 | (setq count (+ count (if forwardp -1 1))) | 799 | (setq count (+ count (if forwardp -1 1))) |
| 800 | (setq beg (line-beginning-position) | 800 | (setq beg (line-beginning-position) |
| 801 | end (line-end-position)) | 801 | end (line-end-position)) |
| 802 | (if (and keep-props font-lock-mode | 802 | (if (and keep-props (boundp 'jit-lock-mode) jit-lock-mode |
| 803 | (text-property-not-all beg end 'fontified t)) | 803 | (text-property-not-all beg end 'fontified t)) |
| 804 | (font-lock-fontify-region beg end)) | 804 | (jit-lock-fontify-now beg end)) |
| 805 | (push | 805 | (push |
| 806 | (funcall (if keep-props | 806 | (funcall (if keep-props |
| 807 | #'buffer-substring | 807 | #'buffer-substring |
| @@ -1008,9 +1008,9 @@ See also `multi-occur'." | |||
| 1008 | endpt (line-end-position))) | 1008 | endpt (line-end-position))) |
| 1009 | (setq marker (make-marker)) | 1009 | (setq marker (make-marker)) |
| 1010 | (set-marker marker matchbeg) | 1010 | (set-marker marker matchbeg) |
| 1011 | (if (and keep-props font-lock-mode | 1011 | (if (and keep-props (boundp 'jit-lock-mode) jit-lock-mode |
| 1012 | (text-property-not-all begpt endpt 'fontified t)) | 1012 | (text-property-not-all begpt endpt 'fontified t)) |
| 1013 | (font-lock-fontify-region begpt endpt)) | 1013 | (jit-lock-fontify-now begpt endpt)) |
| 1014 | (setq curstring (buffer-substring begpt endpt)) | 1014 | (setq curstring (buffer-substring begpt endpt)) |
| 1015 | ;; Depropertize the string, and maybe | 1015 | ;; Depropertize the string, and maybe |
| 1016 | ;; highlight the matches | 1016 | ;; highlight the matches |