aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorJason Rumney2001-11-12 23:57:09 +0000
committerJason Rumney2001-11-12 23:57:09 +0000
commit33f096701c84fc754bf5486cd2743dd030f5eb4a (patch)
tree8b94db4dad6b9dd0a7e94d0a492fea091d4f0f26 /src/w32proc.c
parentb6f4c7ba9cef461e5c827cb3f485ad82445ff85a (diff)
downloademacs-33f096701c84fc754bf5486cd2743dd030f5eb4a.tar.gz
emacs-33f096701c84fc754bf5486cd2743dd030f5eb4a.zip
Change doc-string comments to `new style'. [w/`doc:' keyword]. Doc fixes.
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c262
1 files changed, 137 insertions, 125 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index 56ec9349e8d..7c9aad6b0a5 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -1646,14 +1646,14 @@ extern BOOL init_winsock (int load_now);
1646extern Lisp_Object Vsystem_name; 1646extern Lisp_Object Vsystem_name;
1647 1647
1648DEFUN ("w32-has-winsock", Fw32_has_winsock, Sw32_has_winsock, 0, 1, 0, 1648DEFUN ("w32-has-winsock", Fw32_has_winsock, Sw32_has_winsock, 0, 1, 0,
1649 "Test for presence of the Windows socket library `winsock'.\n\ 1649 doc: /* Test for presence of the Windows socket library `winsock'.
1650Returns non-nil if winsock support is present, nil otherwise.\n\ 1650Returns non-nil if winsock support is present, nil otherwise.
1651\n\ 1651
1652If the optional argument LOAD-NOW is non-nil, the winsock library is\n\ 1652If the optional argument LOAD-NOW is non-nil, the winsock library is
1653also loaded immediately if not already loaded. If winsock is loaded,\n\ 1653also loaded immediately if not already loaded. If winsock is loaded,
1654the winsock local hostname is returned (since this may be different from\n\ 1654the winsock local hostname is returned (since this may be different from
1655the value of `system-name' and should supplant it), otherwise t is\n\ 1655the value of `system-name' and should supplant it), otherwise t is
1656returned to indicate winsock support is present.") 1656returned to indicate winsock support is present. */)
1657 (load_now) 1657 (load_now)
1658 Lisp_Object load_now; 1658 Lisp_Object load_now;
1659{ 1659{
@@ -1682,10 +1682,10 @@ returned to indicate winsock support is present.")
1682 1682
1683DEFUN ("w32-unload-winsock", Fw32_unload_winsock, Sw32_unload_winsock, 1683DEFUN ("w32-unload-winsock", Fw32_unload_winsock, Sw32_unload_winsock,
1684 0, 0, 0, 1684 0, 0, 0,
1685 "Unload the Windows socket library `winsock' if loaded.\n\ 1685 doc: /* Unload the Windows socket library `winsock' if loaded.
1686This is provided to allow dial-up socket connections to be disconnected\n\ 1686This is provided to allow dial-up socket connections to be disconnected
1687when no longer needed. Returns nil without unloading winsock if any\n\ 1687when no longer needed. Returns nil without unloading winsock if any
1688socket connections still exist.") 1688socket connections still exist. */)
1689 () 1689 ()
1690{ 1690{
1691 return term_winsock () ? Qt : Qnil; 1691 return term_winsock () ? Qt : Qnil;
@@ -1704,9 +1704,9 @@ socket connections still exist.")
1704 } while (0) 1704 } while (0)
1705 1705
1706DEFUN ("w32-short-file-name", Fw32_short_file_name, Sw32_short_file_name, 1, 1, 0, 1706DEFUN ("w32-short-file-name", Fw32_short_file_name, Sw32_short_file_name, 1, 1, 0,
1707 "Return the short file name version (8.3) of the full path of FILENAME.\n\ 1707 doc: /* Return the short file name version (8.3) of the full path of FILENAME.
1708If FILENAME does not exist, return nil.\n\ 1708If FILENAME does not exist, return nil.
1709All path elements in FILENAME are converted to their short names.") 1709All path elements in FILENAME are converted to their short names. */)
1710 (filename) 1710 (filename)
1711 Lisp_Object filename; 1711 Lisp_Object filename;
1712{ 1712{
@@ -1729,9 +1729,9 @@ All path elements in FILENAME are converted to their short names.")
1729 1729
1730DEFUN ("w32-long-file-name", Fw32_long_file_name, Sw32_long_file_name, 1730DEFUN ("w32-long-file-name", Fw32_long_file_name, Sw32_long_file_name,
1731 1, 1, 0, 1731 1, 1, 0,
1732 "Return the long file name version of the full path of FILENAME.\n\ 1732 doc: /* Return the long file name version of the full path of FILENAME.
1733If FILENAME does not exist, return nil.\n\ 1733If FILENAME does not exist, return nil.
1734All path elements in FILENAME are converted to their long names.") 1734All path elements in FILENAME are converted to their long names. */)
1735 (filename) 1735 (filename)
1736 Lisp_Object filename; 1736 Lisp_Object filename;
1737{ 1737{
@@ -1750,15 +1750,15 @@ All path elements in FILENAME are converted to their long names.")
1750 return build_string (longname); 1750 return build_string (longname);
1751} 1751}
1752 1752
1753DEFUN ("w32-set-process-priority", Fw32_set_process_priority, Sw32_set_process_priority, 1753DEFUN ("w32-set-process-priority", Fw32_set_process_priority,
1754 2, 2, 0, 1754 Sw32_set_process_priority, 2, 2, 0,
1755 "Set the priority of PROCESS to PRIORITY.\n\ 1755 doc: /* Set the priority of PROCESS to PRIORITY.
1756If PROCESS is nil, the priority of Emacs is changed, otherwise the\n\ 1756If PROCESS is nil, the priority of Emacs is changed, otherwise the
1757priority of the process whose pid is PROCESS is changed.\n\ 1757priority of the process whose pid is PROCESS is changed.
1758PRIORITY should be one of the symbols high, normal, or low;\n\ 1758PRIORITY should be one of the symbols high, normal, or low;
1759any other symbol will be interpreted as normal.\n\ 1759any other symbol will be interpreted as normal.
1760\n\ 1760
1761If successful, the return value is t, otherwise nil.") 1761If successful, the return value is t, otherwise nil. */)
1762 (process, priority) 1762 (process, priority)
1763 Lisp_Object process, priority; 1763 Lisp_Object process, priority;
1764{ 1764{
@@ -1804,19 +1804,20 @@ If successful, the return value is t, otherwise nil.")
1804} 1804}
1805 1805
1806 1806
1807DEFUN ("w32-get-locale-info", Fw32_get_locale_info, Sw32_get_locale_info, 1, 2, 0, 1807DEFUN ("w32-get-locale-info", Fw32_get_locale_info,
1808 "Return information about the Windows locale LCID.\n\ 1808 Sw32_get_locale_info, 1, 2, 0,
1809By default, return a three letter locale code which encodes the default\n\ 1809 doc: /* Return information about the Windows locale LCID.
1810language as the first two characters, and the country or regionial variant\n\ 1810By default, return a three letter locale code which encodes the default
1811as the third letter. For example, ENU refers to `English (United States)',\n\ 1811language as the first two characters, and the country or regionial variant
1812while ENC means `English (Canadian)'.\n\ 1812as the third letter. For example, ENU refers to `English (United States)',
1813\n\ 1813while ENC means `English (Canadian)'.
1814If the optional argument LONGFORM is t, the long form of the locale\n\ 1814
1815name is returned, e.g. `English (United States)' instead; if LONGFORM\n\ 1815If the optional argument LONGFORM is t, the long form of the locale
1816is a number, it is interpreted as an LCTYPE constant and the corresponding\n\ 1816name is returned, e.g. `English (United States)' instead; if LONGFORM
1817locale information is returned.\n\ 1817is a number, it is interpreted as an LCTYPE constant and the corresponding
1818\n\ 1818locale information is returned.
1819If LCID (a 16-bit number) is not a valid locale, the result is nil.") 1819
1820If LCID (a 16-bit number) is not a valid locale, the result is nil. */)
1820 (lcid, longform) 1821 (lcid, longform)
1821 Lisp_Object lcid, longform; 1822 Lisp_Object lcid, longform;
1822{ 1823{
@@ -1859,10 +1860,11 @@ If LCID (a 16-bit number) is not a valid locale, the result is nil.")
1859} 1860}
1860 1861
1861 1862
1862DEFUN ("w32-get-current-locale-id", Fw32_get_current_locale_id, Sw32_get_current_locale_id, 0, 0, 0, 1863DEFUN ("w32-get-current-locale-id", Fw32_get_current_locale_id,
1863 "Return Windows locale id for current locale setting.\n\ 1864 Sw32_get_current_locale_id, 0, 0, 0,
1864This is a numerical value; use `w32-get-locale-info' to convert to a\n\ 1865 doc: /* Return Windows locale id for current locale setting.
1865human-readable form.") 1866This is a numerical value; use `w32-get-locale-info' to convert to a
1867human-readable form. */)
1866 () 1868 ()
1867{ 1869{
1868 return make_number (GetThreadLocale ()); 1870 return make_number (GetThreadLocale ());
@@ -1896,10 +1898,11 @@ BOOL CALLBACK enum_locale_fn (LPTSTR localeNum)
1896 return TRUE; 1898 return TRUE;
1897} 1899}
1898 1900
1899DEFUN ("w32-get-valid-locale-ids", Fw32_get_valid_locale_ids, Sw32_get_valid_locale_ids, 0, 0, 0, 1901DEFUN ("w32-get-valid-locale-ids", Fw32_get_valid_locale_ids,
1900 "Return list of all valid Windows locale ids.\n\ 1902 Sw32_get_valid_locale_ids, 0, 0, 0,
1901Each id is a numerical value; use `w32-get-locale-info' to convert to a\n\ 1903 doc: /* Return list of all valid Windows locale ids.
1902human-readable form.") 1904Each id is a numerical value; use `w32-get-locale-info' to convert to a
1905human-readable form. */)
1903 () 1906 ()
1904{ 1907{
1905 Vw32_valid_locale_ids = Qnil; 1908 Vw32_valid_locale_ids = Qnil;
@@ -1912,11 +1915,11 @@ human-readable form.")
1912 1915
1913 1916
1914DEFUN ("w32-get-default-locale-id", Fw32_get_default_locale_id, Sw32_get_default_locale_id, 0, 1, 0, 1917DEFUN ("w32-get-default-locale-id", Fw32_get_default_locale_id, Sw32_get_default_locale_id, 0, 1, 0,
1915 "Return Windows locale id for default locale setting.\n\ 1918 doc: /* Return Windows locale id for default locale setting.
1916By default, the system default locale setting is returned; if the optional\n\ 1919By default, the system default locale setting is returned; if the optional
1917parameter USERP is non-nil, the user default locale setting is returned.\n\ 1920parameter USERP is non-nil, the user default locale setting is returned.
1918This is a numerical value; use `w32-get-locale-info' to convert to a\n\ 1921This is a numerical value; use `w32-get-locale-info' to convert to a
1919human-readable form.") 1922human-readable form. */)
1920 (userp) 1923 (userp)
1921 Lisp_Object userp; 1924 Lisp_Object userp;
1922{ 1925{
@@ -1927,8 +1930,8 @@ human-readable form.")
1927 1930
1928 1931
1929DEFUN ("w32-set-current-locale", Fw32_set_current_locale, Sw32_set_current_locale, 1, 1, 0, 1932DEFUN ("w32-set-current-locale", Fw32_set_current_locale, Sw32_set_current_locale, 1, 1, 0,
1930 "Make Windows locale LCID be the current locale setting for Emacs.\n\ 1933 doc: /* Make Windows locale LCID be the current locale setting for Emacs.
1931If successful, the new locale id is returned, otherwise nil.") 1934If successful, the new locale id is returned, otherwise nil. */)
1932 (lcid) 1935 (lcid)
1933 Lisp_Object lcid; 1936 Lisp_Object lcid;
1934{ 1937{
@@ -1960,8 +1963,9 @@ BOOL CALLBACK enum_codepage_fn (LPTSTR codepageNum)
1960 return TRUE; 1963 return TRUE;
1961} 1964}
1962 1965
1963DEFUN ("w32-get-valid-codepages", Fw32_get_valid_codepages, Sw32_get_valid_codepages, 0, 0, 0, 1966DEFUN ("w32-get-valid-codepages", Fw32_get_valid_codepages,
1964 "Return list of all valid Windows codepages.") 1967 Sw32_get_valid_codepages, 0, 0, 0,
1968 doc: /* Return list of all valid Windows codepages. */)
1965 () 1969 ()
1966{ 1970{
1967 Vw32_valid_codepages = Qnil; 1971 Vw32_valid_codepages = Qnil;
@@ -1973,18 +1977,20 @@ DEFUN ("w32-get-valid-codepages", Fw32_get_valid_codepages, Sw32_get_valid_codep
1973} 1977}
1974 1978
1975 1979
1976DEFUN ("w32-get-console-codepage", Fw32_get_console_codepage, Sw32_get_console_codepage, 0, 0, 0, 1980DEFUN ("w32-get-console-codepage", Fw32_get_console_codepage,
1977 "Return current Windows codepage for console input.") 1981 Sw32_get_console_codepage, 0, 0, 0,
1982 doc: /* Return current Windows codepage for console input. */)
1978 () 1983 ()
1979{ 1984{
1980 return make_number (GetConsoleCP ()); 1985 return make_number (GetConsoleCP ());
1981} 1986}
1982 1987
1983 1988
1984DEFUN ("w32-set-console-codepage", Fw32_set_console_codepage, Sw32_set_console_codepage, 1, 1, 0, 1989DEFUN ("w32-set-console-codepage", Fw32_set_console_codepage,
1985 "Make Windows codepage CP be the current codepage setting for Emacs.\n\ 1990 Sw32_set_console_codepage, 1, 1, 0,
1986The codepage setting affects keyboard input and display in tty mode.\n\ 1991 doc: /* Make Windows codepage CP be the current codepage setting for Emacs.
1987If successful, the new CP is returned, otherwise nil.") 1992The codepage setting affects keyboard input and display in tty mode.
1993If successful, the new CP is returned, otherwise nil. */)
1988 (cp) 1994 (cp)
1989 Lisp_Object cp; 1995 Lisp_Object cp;
1990{ 1996{
@@ -2000,18 +2006,20 @@ If successful, the new CP is returned, otherwise nil.")
2000} 2006}
2001 2007
2002 2008
2003DEFUN ("w32-get-console-output-codepage", Fw32_get_console_output_codepage, Sw32_get_console_output_codepage, 0, 0, 0, 2009DEFUN ("w32-get-console-output-codepage", Fw32_get_console_output_codepage,
2004 "Return current Windows codepage for console output.") 2010 Sw32_get_console_output_codepage, 0, 0, 0,
2011 doc: /* Return current Windows codepage for console output. */)
2005 () 2012 ()
2006{ 2013{
2007 return make_number (GetConsoleOutputCP ()); 2014 return make_number (GetConsoleOutputCP ());
2008} 2015}
2009 2016
2010 2017
2011DEFUN ("w32-set-console-output-codepage", Fw32_set_console_output_codepage, Sw32_set_console_output_codepage, 1, 1, 0, 2018DEFUN ("w32-set-console-output-codepage", Fw32_set_console_output_codepage,
2012 "Make Windows codepage CP be the current codepage setting for Emacs.\n\ 2019 Sw32_set_console_output_codepage, 1, 1, 0,
2013The codepage setting affects keyboard input and display in tty mode.\n\ 2020 doc: /* Make Windows codepage CP be the current codepage setting for Emacs.
2014If successful, the new CP is returned, otherwise nil.") 2021The codepage setting affects keyboard input and display in tty mode.
2022If successful, the new CP is returned, otherwise nil. */)
2015 (cp) 2023 (cp)
2016 Lisp_Object cp; 2024 Lisp_Object cp;
2017{ 2025{
@@ -2027,9 +2035,10 @@ If successful, the new CP is returned, otherwise nil.")
2027} 2035}
2028 2036
2029 2037
2030DEFUN ("w32-get-codepage-charset", Fw32_get_codepage_charset, Sw32_get_codepage_charset, 1, 1, 0, 2038DEFUN ("w32-get-codepage-charset", Fw32_get_codepage_charset,
2031 "Return charset of codepage CP.\n\ 2039 Sw32_get_codepage_charset, 1, 1, 0,
2032Returns nil if the codepage is not valid.") 2040 doc: /* Return charset of codepage CP.
2041Returns nil if the codepage is not valid. */)
2033 (cp) 2042 (cp)
2034 Lisp_Object cp; 2043 Lisp_Object cp;
2035{ 2044{
@@ -2047,9 +2056,10 @@ Returns nil if the codepage is not valid.")
2047} 2056}
2048 2057
2049 2058
2050DEFUN ("w32-get-valid-keyboard-layouts", Fw32_get_valid_keyboard_layouts, Sw32_get_valid_keyboard_layouts, 0, 0, 0, 2059DEFUN ("w32-get-valid-keyboard-layouts", Fw32_get_valid_keyboard_layouts,
2051 "Return list of Windows keyboard languages and layouts.\n\ 2060 Sw32_get_valid_keyboard_layouts, 0, 0, 0,
2052The return value is a list of pairs of language id and layout id.") 2061 doc: /* Return list of Windows keyboard languages and layouts.
2062The return value is a list of pairs of language id and layout id. */)
2053 () 2063 ()
2054{ 2064{
2055 int num_layouts = GetKeyboardLayoutList (0, NULL); 2065 int num_layouts = GetKeyboardLayoutList (0, NULL);
@@ -2072,9 +2082,10 @@ The return value is a list of pairs of language id and layout id.")
2072} 2082}
2073 2083
2074 2084
2075DEFUN ("w32-get-keyboard-layout", Fw32_get_keyboard_layout, Sw32_get_keyboard_layout, 0, 0, 0, 2085DEFUN ("w32-get-keyboard-layout", Fw32_get_keyboard_layout,
2076 "Return current Windows keyboard language and layout.\n\ 2086 Sw32_get_keyboard_layout, 0, 0, 0,
2077The return value is the cons of the language id and the layout id.") 2087 doc: /* Return current Windows keyboard language and layout.
2088The return value is the cons of the language id and the layout id. */)
2078 () 2089 ()
2079{ 2090{
2080 DWORD kl = (DWORD) GetKeyboardLayout (dwWindowsThreadId); 2091 DWORD kl = (DWORD) GetKeyboardLayout (dwWindowsThreadId);
@@ -2084,10 +2095,11 @@ The return value is the cons of the language id and the layout id.")
2084} 2095}
2085 2096
2086 2097
2087DEFUN ("w32-set-keyboard-layout", Fw32_set_keyboard_layout, Sw32_set_keyboard_layout, 1, 1, 0, 2098DEFUN ("w32-set-keyboard-layout", Fw32_set_keyboard_layout,
2088 "Make LAYOUT be the current keyboard layout for Emacs.\n\ 2099 Sw32_set_keyboard_layout, 1, 1, 0,
2089The keyboard layout setting affects interpretation of keyboard input.\n\ 2100 doc: /* Make LAYOUT be the current keyboard layout for Emacs.
2090If successful, the new layout id is returned, otherwise nil.") 2101The keyboard layout setting affects interpretation of keyboard input.
2102If successful, the new layout id is returned, otherwise nil. */)
2091 (layout) 2103 (layout)
2092 Lisp_Object layout; 2104 Lisp_Object layout;
2093{ 2105{
@@ -2150,75 +2162,75 @@ syms_of_ntproc ()
2150 defsubr (&Sw32_set_keyboard_layout); 2162 defsubr (&Sw32_set_keyboard_layout);
2151 2163
2152 DEFVAR_LISP ("w32-quote-process-args", &Vw32_quote_process_args, 2164 DEFVAR_LISP ("w32-quote-process-args", &Vw32_quote_process_args,
2153 "Non-nil enables quoting of process arguments to ensure correct parsing.\n\ 2165 doc: /* Non-nil enables quoting of process arguments to ensure correct parsing.
2154Because Windows does not directly pass argv arrays to child processes,\n\ 2166Because Windows does not directly pass argv arrays to child processes,
2155programs have to reconstruct the argv array by parsing the command\n\ 2167programs have to reconstruct the argv array by parsing the command
2156line string. For an argument to contain a space, it must be enclosed\n\ 2168line string. For an argument to contain a space, it must be enclosed
2157in double quotes or it will be parsed as multiple arguments.\n\ 2169in double quotes or it will be parsed as multiple arguments.
2158\n\ 2170
2159If the value is a character, that character will be used to escape any\n\ 2171If the value is a character, that character will be used to escape any
2160quote characters that appear, otherwise a suitable escape character\n\ 2172quote characters that appear, otherwise a suitable escape character
2161will be chosen based on the type of the program."); 2173will be chosen based on the type of the program. */);
2162 Vw32_quote_process_args = Qt; 2174 Vw32_quote_process_args = Qt;
2163 2175
2164 DEFVAR_LISP ("w32-start-process-show-window", 2176 DEFVAR_LISP ("w32-start-process-show-window",
2165 &Vw32_start_process_show_window, 2177 &Vw32_start_process_show_window,
2166 "When nil, new child processes hide their windows.\n\ 2178 doc: /* When nil, new child processes hide their windows.
2167When non-nil, they show their window in the method of their choice.\n\ 2179When non-nil, they show their window in the method of their choice.
2168This variable doesn't affect GUI applications, which will never be hidden."); 2180This variable doesn't affect GUI applications, which will never be hidden. */);
2169 Vw32_start_process_show_window = Qnil; 2181 Vw32_start_process_show_window = Qnil;
2170 2182
2171 DEFVAR_LISP ("w32-start-process-share-console", 2183 DEFVAR_LISP ("w32-start-process-share-console",
2172 &Vw32_start_process_share_console, 2184 &Vw32_start_process_share_console,
2173 "When nil, new child processes are given a new console.\n\ 2185 doc: /* When nil, new child processes are given a new console.
2174When non-nil, they share the Emacs console; this has the limitation of\n\ 2186When non-nil, they share the Emacs console; this has the limitation of
2175allowing only only DOS subprocess to run at a time (whether started directly\n\ 2187allowing only only DOS subprocess to run at a time (whether started directly
2176or indirectly by Emacs), and preventing Emacs from cleanly terminating the\n\ 2188or indirectly by Emacs), and preventing Emacs from cleanly terminating the
2177subprocess group, but may allow Emacs to interrupt a subprocess that doesn't\n\ 2189subprocess group, but may allow Emacs to interrupt a subprocess that doesn't
2178otherwise respond to interrupts from Emacs."); 2190otherwise respond to interrupts from Emacs. */);
2179 Vw32_start_process_share_console = Qnil; 2191 Vw32_start_process_share_console = Qnil;
2180 2192
2181 DEFVAR_LISP ("w32-start-process-inherit-error-mode", 2193 DEFVAR_LISP ("w32-start-process-inherit-error-mode",
2182 &Vw32_start_process_inherit_error_mode, 2194 &Vw32_start_process_inherit_error_mode,
2183 "When nil, new child processes revert to the default error mode.\n\ 2195 doc: /* When nil, new child processes revert to the default error mode.
2184When non-nil, they inherit their error mode setting from Emacs, which stops\n\ 2196When non-nil, they inherit their error mode setting from Emacs, which stops
2185them blocking when trying to access unmounted drives etc."); 2197them blocking when trying to access unmounted drives etc. */);
2186 Vw32_start_process_inherit_error_mode = Qt; 2198 Vw32_start_process_inherit_error_mode = Qt;
2187 2199
2188 DEFVAR_INT ("w32-pipe-read-delay", &Vw32_pipe_read_delay, 2200 DEFVAR_INT ("w32-pipe-read-delay", &Vw32_pipe_read_delay,
2189 "Forced delay before reading subprocess output.\n\ 2201 doc: /* Forced delay before reading subprocess output.
2190This is done to improve the buffering of subprocess output, by\n\ 2202This is done to improve the buffering of subprocess output, by
2191avoiding the inefficiency of frequently reading small amounts of data.\n\ 2203avoiding the inefficiency of frequently reading small amounts of data.
2192\n\ 2204
2193If positive, the value is the number of milliseconds to sleep before\n\ 2205If positive, the value is the number of milliseconds to sleep before
2194reading the subprocess output. If negative, the magnitude is the number\n\ 2206reading the subprocess output. If negative, the magnitude is the number
2195of time slices to wait (effectively boosting the priority of the child\n\ 2207of time slices to wait (effectively boosting the priority of the child
2196process temporarily). A value of zero disables waiting entirely."); 2208process temporarily). A value of zero disables waiting entirely. */);
2197 Vw32_pipe_read_delay = 50; 2209 Vw32_pipe_read_delay = 50;
2198 2210
2199 DEFVAR_LISP ("w32-downcase-file-names", &Vw32_downcase_file_names, 2211 DEFVAR_LISP ("w32-downcase-file-names", &Vw32_downcase_file_names,
2200 "Non-nil means convert all-upper case file names to lower case.\n\ 2212 doc: /* Non-nil means convert all-upper case file names to lower case.
2201This applies when performing completions and file name expansion.\n\ 2213This applies when performing completions and file name expansion.
2202Note that the value of this setting also affects remote file names,\n\ 2214Note that the value of this setting also affects remote file names,
2203so you probably don't want to set to non-nil if you use case-sensitive\n\ 2215so you probably don't want to set to non-nil if you use case-sensitive
2204filesystems via ange-ftp."); 2216filesystems via ange-ftp. */);
2205 Vw32_downcase_file_names = Qnil; 2217 Vw32_downcase_file_names = Qnil;
2206 2218
2207#if 0 2219#if 0
2208 DEFVAR_LISP ("w32-generate-fake-inodes", &Vw32_generate_fake_inodes, 2220 DEFVAR_LISP ("w32-generate-fake-inodes", &Vw32_generate_fake_inodes,
2209 "Non-nil means attempt to fake realistic inode values.\n\ 2221 doc: /* Non-nil means attempt to fake realistic inode values.
2210This works by hashing the truename of files, and should detect \n\ 2222This works by hashing the truename of files, and should detect
2211aliasing between long and short (8.3 DOS) names, but can have\n\ 2223aliasing between long and short (8.3 DOS) names, but can have
2212false positives because of hash collisions. Note that determing\n\ 2224false positives because of hash collisions. Note that determing
2213the truename of a file can be slow."); 2225the truename of a file can be slow. */);
2214 Vw32_generate_fake_inodes = Qnil; 2226 Vw32_generate_fake_inodes = Qnil;
2215#endif 2227#endif
2216 2228
2217 DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes, 2229 DEFVAR_LISP ("w32-get-true-file-attributes", &Vw32_get_true_file_attributes,
2218 "Non-nil means determine accurate link count in file-attributes.\n\ 2230 doc: /* Non-nil means determine accurate link count in file-attributes.
2219This option slows down file-attributes noticeably, so is disabled by\n\ 2231This option slows down file-attributes noticeably, so is disabled by
2220default. Note that it is only useful for files on NTFS volumes,\n\ 2232default. Note that it is only useful for files on NTFS volumes,
2221where hard links are supported."); 2233where hard links are supported. */);
2222 Vw32_get_true_file_attributes = Qnil; 2234 Vw32_get_true_file_attributes = Qnil;
2223} 2235}
2224/* end of ntproc.c */ 2236/* end of ntproc.c */