summaryrefslogtreecommitdiff
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-04-23 05:55:42 +0000
committerMiles Bader <miles@gnu.org>2008-04-23 05:55:42 +0000
commit1dbcbdfd53e372ecfb61035391d9efb041f969c6 (patch)
tree4c349ef3d3a3f02af26c4492932f2ea745fd88ef /src/w32proc.c
parent6ab319b83da3b023794de4bcf5fbdc5e76ae5bae (diff)
parent49f0d8753012d3cc26a6eac80e52b9fe0b243392 (diff)
downloademacs-1dbcbdfd53e372ecfb61035391d9efb041f969c6.tar.gz
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index fbb4030e319..0665fa28f16 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -110,6 +110,7 @@ Lisp_Object Vw32_generate_fake_inodes;
exactly, at the expense of slower operation. Since true hard links
are supported on NTFS volumes, this is only relevant on NT. */
Lisp_Object Vw32_get_true_file_attributes;
+extern Lisp_Object Qlocal;
Lisp_Object Qhigh, Qlow;
@@ -2353,9 +2354,12 @@ the truename of a file can be slow. */);
DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes,
doc: /* Non-nil means determine accurate link count in `file-attributes'.
-Note that this option is only useful for files on NTFS volumes, where hard links
-are supported. Moreover, it slows down `file-attributes' noticeably. */);
- Vw32_get_true_file_attributes = Qt;
+This option is only useful for files on NTFS volumes, where
+hard links are supported. The default value `local' means only do
+this for files on local harddrives. Any other non-nil value means do
+this even on remote and removable drives where the performance impact
+may be noticeable even on modern hardware. */);
+ Vw32_get_true_file_attributes = Qlocal;
staticpro (&Vw32_valid_locale_ids);
staticpro (&Vw32_valid_codepages);