[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [emacs-unicode-2] |
Date: |
Wed, 08 Dec 2004 02:04:05 -0500 |
Index: emacs/lisp/vc-hooks.el
diff -c emacs/lisp/vc-hooks.el:1.156.2.4 emacs/lisp/vc-hooks.el:1.156.2.5
*** emacs/lisp/vc-hooks.el:1.156.2.4 Fri Oct 22 10:13:29 2004
--- emacs/lisp/vc-hooks.el Wed Dec 8 05:02:14 2004
***************
*** 461,466 ****
--- 461,472 ----
(vc-file-setprop file 'vc-state
(vc-call state-heuristic file)))))
+ (defun vc-recompute-state (file)
+ "Recompute the version control state of FILE, and return it.
+ This calls the possibly expensive function vc-BACKEND-state,
+ rather than the heuristic."
+ (vc-file-setprop file 'vc-state (vc-call state file)))
+
(defsubst vc-up-to-date-p (file)
"Convenience function that checks whether `vc-state' of FILE is
`up-to-date'."
(eq (vc-state file) 'up-to-date))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [emacs-unicode-2],
Miles Bader <=