Mercurial > emacs
comparison src/w32proc.c @ 94293:ca9efc5939fc
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 23 Apr 2008 05:55:42 +0000 |
parents | 606f2d163a64 f1f27e9c15d7 |
children | f82e9e80393e |
comparison
equal
deleted
inserted
replaced
94292:f07af351ed0b | 94293:ca9efc5939fc |
---|---|
108 | 108 |
109 /* Control whether stat() attempts to determine file type and link count | 109 /* Control whether stat() attempts to determine file type and link count |
110 exactly, at the expense of slower operation. Since true hard links | 110 exactly, at the expense of slower operation. Since true hard links |
111 are supported on NTFS volumes, this is only relevant on NT. */ | 111 are supported on NTFS volumes, this is only relevant on NT. */ |
112 Lisp_Object Vw32_get_true_file_attributes; | 112 Lisp_Object Vw32_get_true_file_attributes; |
113 extern Lisp_Object Qlocal; | |
113 | 114 |
114 Lisp_Object Qhigh, Qlow; | 115 Lisp_Object Qhigh, Qlow; |
115 | 116 |
116 #ifdef EMACSDEBUG | 117 #ifdef EMACSDEBUG |
117 void _DebPrint (const char *fmt, ...) | 118 void _DebPrint (const char *fmt, ...) |
2351 Vw32_generate_fake_inodes = Qnil; | 2352 Vw32_generate_fake_inodes = Qnil; |
2352 #endif | 2353 #endif |
2353 | 2354 |
2354 DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, | 2355 DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, |
2355 doc: /* Non-nil means determine accurate link count in `file-attributes'. | 2356 doc: /* Non-nil means determine accurate link count in `file-attributes'. |
2356 Note that this option is only useful for files on NTFS volumes, where hard links | 2357 This option is only useful for files on NTFS volumes, where |
2357 are supported. Moreover, it slows down `file-attributes' noticeably. */); | 2358 hard links are supported. The default value `local' means only do |
2358 Vw32_get_true_file_attributes = Qt; | 2359 this for files on local harddrives. Any other non-nil value means do |
2360 this even on remote and removable drives where the performance impact | |
2361 may be noticeable even on modern hardware. */); | |
2362 Vw32_get_true_file_attributes = Qlocal; | |
2359 | 2363 |
2360 staticpro (&Vw32_valid_locale_ids); | 2364 staticpro (&Vw32_valid_locale_ids); |
2361 staticpro (&Vw32_valid_codepages); | 2365 staticpro (&Vw32_valid_codepages); |
2362 } | 2366 } |
2363 /* end of ntproc.c */ | 2367 /* end of ntproc.c */ |