diff options
| author | Jason Rumney | 2008-04-10 10:42:54 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-04-10 10:42:54 +0000 |
| commit | 2fa4f0908a61d12a697265793b28fd26cf2e0e9f (patch) | |
| tree | c6eaca8913c9fbec53ad45942efa653de2efb9db /src | |
| parent | ac0af1135c279f01e8e20176414b4c9c43e7304c (diff) | |
| download | emacs-2fa4f0908a61d12a697265793b28fd26cf2e0e9f.tar.gz emacs-2fa4f0908a61d12a697265793b28fd26cf2e0e9f.zip | |
(syms_of_ntproc): Change Vw32_get_true_file attributes
default to Qlocal.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32proc.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index f050cacf82d..3756f4a8dd1 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -109,6 +109,7 @@ Lisp_Object Vw32_generate_fake_inodes; | |||
| 109 | exactly, at the expense of slower operation. Since true hard links | 109 | exactly, at the expense of slower operation. Since true hard links |
| 110 | are supported on NTFS volumes, this is only relevant on NT. */ | 110 | are supported on NTFS volumes, this is only relevant on NT. */ |
| 111 | Lisp_Object Vw32_get_true_file_attributes; | 111 | Lisp_Object Vw32_get_true_file_attributes; |
| 112 | extern Lisp_Object Qlocal; | ||
| 112 | 113 | ||
| 113 | Lisp_Object Qhigh, Qlow; | 114 | Lisp_Object Qhigh, Qlow; |
| 114 | 115 | ||
| @@ -2354,9 +2355,12 @@ the truename of a file can be slow. */); | |||
| 2354 | 2355 | ||
| 2355 | DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, | 2356 | DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, |
| 2356 | doc: /* Non-nil means determine accurate link count in `file-attributes'. | 2357 | doc: /* Non-nil means determine accurate link count in `file-attributes'. |
| 2357 | Note that this option is only useful for files on NTFS volumes, where hard links | 2358 | This option is only useful for files on NTFS volumes, where |
| 2358 | are supported. Moreover, it slows down `file-attributes' noticeably. */); | 2359 | hard links are supported. The default value `local' means only do |
| 2359 | Vw32_get_true_file_attributes = Qt; | 2360 | this for files on local harddrives. Any other non-nil value means do |
| 2361 | this even on remote and removable drives where the performance impact | ||
| 2362 | may be noticeable even on modern hardware. */); | ||
| 2363 | Vw32_get_true_file_attributes = Qlocal; | ||
| 2360 | 2364 | ||
| 2361 | staticpro (&Vw32_valid_locale_ids); | 2365 | staticpro (&Vw32_valid_locale_ids); |
| 2362 | staticpro (&Vw32_valid_codepages); | 2366 | staticpro (&Vw32_valid_codepages); |