Mercurial > emacs
changeset 5743:9ad79a0fb0aa
(vc-mode-line): use force-mode-line-update instead of the Emacs 18
kluge.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Wed, 02 Feb 1994 18:56:02 +0000 |
parents | 84cdd74ddbb0 |
children | c870cde64544 |
files | lisp/vc-hooks.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc-hooks.el Wed Feb 02 18:46:29 1994 +0000 +++ b/lisp/vc-hooks.el Wed Feb 02 18:56:02 1994 +0000 @@ -154,8 +154,8 @@ (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)