annotate nt/inc/sys/file.h @ 103553:af4ee0cb7fb7

* vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision): Add an optional argument for the backend, use it instead of calling vc-backend. (vc-mode-line): Add an optional argument for the backend. Pass the backend to vc-state and vc-working-revision. Move code for special handling for vc-state being a buffer to ... * vc-rcs.el (vc-rcs-find-file-hook): * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions. * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout) (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state, vc-stay-local-p and vc-mode-line calls. * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log) (vc-cvs-diff, vc-cvs-annotate-command) (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p) (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and vc-mode-line calls. * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of direct comparison. (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the backend when calling vc-mode-line. (vc-register): Do not create a closure for calling the vc register function, call it directly.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 23 Jun 2009 06:35:40 +0000
parents 695cf19ef79e
children 375f2633d815 ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 /*
15134
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
2 * sys\file.h doesn't exist on NT - only needed for these constants
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 */
15134
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
4
31090
69b7e5c8da03 (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
Andrew Innes <andrewi@gnu.org>
parents: 22361
diff changeset
5 #ifndef D_OK
15134
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
6 #define F_OK 0
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
7 #define X_OK 1
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
8 #define W_OK 2
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
9 #define R_OK 4
22361
841b8916e3b2 (D_OK): Define new macro.
Karl Heuer <kwzh@gnu.org>
parents: 15134
diff changeset
10 #define D_OK 8
31090
69b7e5c8da03 (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
Andrew Innes <andrewi@gnu.org>
parents: 22361
diff changeset
11 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 31090
diff changeset
12
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 31090
diff changeset
13 /* arch-tag: 7df3e73e-56bc-4ad9-b699-33149ea47959
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 31090
diff changeset
14 (do not change this comment) */