Commit d4353b20 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

(vc-mode-line): use force-mode-line-update instead of the Emacs 18

kluge.
parent 5b817cf2
......@@ -154,8 +154,8 @@ visiting FILE."
(require 'vc)
(not (string-equal (user-login-name) (vc-locking-user file)))
(setq buffer-read-only t))
;; force update of mode line
(set-buffer-modified-p (buffer-modified-p))
(force-mode-line-update)
;;(set-buffer-modified-p (buffer-modified-p)) ;;use this if Emacs 18
vc-type))
(defun vc-rcs-status (file)
......
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