(vc-revert-buffer1): Delete the special code for font-lock.
This commit is contained in:
parent
800479f5fd
commit
c8502397cc
1 changed files with 1 additions and 10 deletions
11
lisp/vc.el
11
lisp/vc.el
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue