diff options
| author | Eric S. Raymond | 1994-02-02 18:56:02 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1994-02-02 18:56:02 +0000 |
| commit | d4353b205536795cc4f316dafabd87eb7441a514 (patch) | |
| tree | 5456018e9608549185a99ac891ca4e2f62e877eb | |
| parent | 5b817cf26eaba0b97509bdf3aad78343209190e0 (diff) | |
| download | emacs-d4353b205536795cc4f316dafabd87eb7441a514.tar.gz emacs-d4353b205536795cc4f316dafabd87eb7441a514.zip | |
(vc-mode-line): use force-mode-line-update instead of the Emacs 18
kluge.
| -rw-r--r-- | lisp/vc-hooks.el | 4 |
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." | |||
| 154 | (require 'vc) | 154 | (require 'vc) |
| 155 | (not (string-equal (user-login-name) (vc-locking-user file))) | 155 | (not (string-equal (user-login-name) (vc-locking-user file))) |
| 156 | (setq buffer-read-only t)) | 156 | (setq buffer-read-only t)) |
| 157 | ;; force update of mode line | 157 | (force-mode-line-update) |
| 158 | (set-buffer-modified-p (buffer-modified-p)) | 158 | ;;(set-buffer-modified-p (buffer-modified-p)) ;;use this if Emacs 18 |
| 159 | vc-type)) | 159 | vc-type)) |
| 160 | 160 | ||
| 161 | (defun vc-rcs-status (file) | 161 | (defun vc-rcs-status (file) |