emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [lexbind]
Date: Wed, 08 Dec 2004 19:16:49 -0500

Index: emacs/lisp/vc-hooks.el
diff -c emacs/lisp/vc-hooks.el:1.139.2.9 emacs/lisp/vc-hooks.el:1.139.2.10
*** emacs/lisp/vc-hooks.el:1.139.2.9    Mon Oct 25 04:22:23 2004
--- emacs/lisp/vc-hooks.el      Wed Dec  8 23:36:18 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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]