[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el
From: |
André Spiegel |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el |
Date: |
Tue, 30 Nov 2004 06:24:33 -0500 |
Index: emacs/lisp/vc-hooks.el
diff -c emacs/lisp/vc-hooks.el:1.170 emacs/lisp/vc-hooks.el:1.171
*** emacs/lisp/vc-hooks.el:1.170 Sat Oct 16 18:59:11 2004
--- emacs/lisp/vc-hooks.el Tue Nov 30 11:03:09 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,
André Spiegel <=