Commit c8502397 authored by Karl Heuer's avatar Karl Heuer
Browse files

(vc-revert-buffer1): Delete the special code for font-lock.

parent 800479f5
......@@ -374,16 +374,7 @@ with RCS)."
(if buffer-error-marked-p buffer))))
(buffer-list)))))))
(let ((in-font-lock-mode (and (boundp 'font-lock-fontified)
font-lock-fontified)))
(if in-font-lock-mode
(font-lock-mode 0))
;; the actual revisit
(revert-buffer arg no-confirm)
(if in-font-lock-mode
(font-lock-mode 1)))
(revert-buffer arg no-confirm)
;; Reparse affected compilation buffers.
(while reparse
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment