summaryrefslogtreecommitdiff
path: root/lisp/vc-hooks.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>1994-02-02 18:56:02 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>1994-02-02 18:56:02 +0000
commitd4353b205536795cc4f316dafabd87eb7441a514 (patch)
tree5456018e9608549185a99ac891ca4e2f62e877eb /lisp/vc-hooks.el
parent5b817cf26eaba0b97509bdf3aad78343209190e0 (diff)
downloademacs-d4353b205536795cc4f316dafabd87eb7441a514.tar.gz
(vc-mode-line): use force-mode-line-update instead of the Emacs 18
kluge.
Diffstat (limited to 'lisp/vc-hooks.el')
-rw-r--r--lisp/vc-hooks.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 8f407d5b9d8..7160558d9db 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -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)