diff options
| author | Eli Zaretskii | 2014-02-05 18:50:53 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-02-05 18:50:53 +0200 |
| commit | 6d48053b2121a1cb10d83aabf1ced59f03dda0e1 (patch) | |
| tree | 9464bb9938dfbb64b9c09ca827786a25b52049a9 /src | |
| parent | 9a83b32b7bd5663bd74f8bc04d5c3f61deb2c78d (diff) | |
| download | emacs-6d48053b2121a1cb10d83aabf1ced59f03dda0e1.tar.gz emacs-6d48053b2121a1cb10d83aabf1ced59f03dda0e1.zip | |
src/w32fns.c (Fw32_shell_execute): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32fns.c | 44 |
2 files changed, 32 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 487fb4092d2..2df6c99edc1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-05 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (Fw32_shell_execute): Doc fix. | ||
| 4 | |||
| 1 | 2014-02-05 Bastien Guerry <bzg@gnu.org> | 5 | 2014-02-05 Bastien Guerry <bzg@gnu.org> |
| 2 | 6 | ||
| 3 | * syntax.c (Fforward_word): Call Fconstrain_to_field with | 7 | * syntax.c (Fforward_word): Call Fconstrain_to_field with |
diff --git a/src/w32fns.c b/src/w32fns.c index ad5d3c0ea4b..7aca7fde3ad 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -6850,40 +6850,52 @@ handler application, but typically it is one of the following common | |||
| 6850 | operations: | 6850 | operations: |
| 6851 | 6851 | ||
| 6852 | \"open\" - open DOCUMENT, which could be a file, a directory, or an | 6852 | \"open\" - open DOCUMENT, which could be a file, a directory, or an |
| 6853 | executable program. If it is an application, that | 6853 | executable program (application). If it is an application, |
| 6854 | application is launched in the current buffer's default | 6854 | that application is launched in the current buffer's default |
| 6855 | directory. Otherwise, the application associated with | 6855 | directory. Otherwise, the application associated with |
| 6856 | DOCUMENT is launched in the buffer's default directory. | 6856 | DOCUMENT is launched in the buffer's default directory. |
| 6857 | \"print\" - print DOCUMENT, which must be a file | 6857 | \"opennew\" - like \"open\", but instruct the application to open |
| 6858 | \"explore\" - start the Windows Explorer on DOCUMENT | 6858 | DOCUMENT in a new window. |
| 6859 | \"openas\" - open the \"Open With\" dialog for DOCUMENT. | ||
| 6860 | \"print\" - print DOCUMENT, which must be a file. | ||
| 6861 | \"printto\" - print DOCUMENT, which must be a file, to a specified printer. | ||
| 6862 | The printer should be provided in PARAMETERS, see below. | ||
| 6863 | \"explore\" - start the Windows Explorer on DOCUMENT. | ||
| 6859 | \"edit\" - launch an editor and open DOCUMENT for editing; which | 6864 | \"edit\" - launch an editor and open DOCUMENT for editing; which |
| 6860 | editor is launched depends on the association for the | 6865 | editor is launched depends on the association for the |
| 6861 | specified DOCUMENT | 6866 | specified DOCUMENT. |
| 6862 | \"find\" - initiate search starting from DOCUMENT which must specify | 6867 | \"find\" - initiate search starting from DOCUMENT, which must specify |
| 6863 | a directory | 6868 | a directory. |
| 6864 | \"runas\" - run DOCUMENT, which must be an excutable file, with | 6869 | \"runas\" - run DOCUMENT, which must be an excutable file, with |
| 6865 | elevated privileges (a.k.a. \"as Administrator\"). | 6870 | elevated privileges (a.k.a. \"as Administrator\"). |
| 6871 | \"properties\" | ||
| 6872 | - open the the property sheet dialog for DOCUMENT; works | ||
| 6873 | for *.lnk desktop shortcuts, and little or nothing else. | ||
| 6866 | nil - invoke the default OPERATION, or \"open\" if default is | 6874 | nil - invoke the default OPERATION, or \"open\" if default is |
| 6867 | not defined or unavailable | 6875 | not defined or unavailable. |
| 6868 | 6876 | ||
| 6869 | DOCUMENT is typically the name of a document file or a URL, but can | 6877 | DOCUMENT is typically the name of a document file or a URL, but can |
| 6870 | also be a program executable to run, or a directory to open in the | 6878 | also be an executable program to run, or a directory to open in the |
| 6871 | Windows Explorer. If it is a file, it must be a local one; this | 6879 | Windows Explorer. If it is a file, it must be a local one; this |
| 6872 | function does not support remote file names. | 6880 | function does not support remote file names. |
| 6873 | 6881 | ||
| 6874 | If DOCUMENT is a program executable, the optional third arg PARAMETERS | 6882 | If DOCUMENT is an executable program, the optional third arg PARAMETERS |
| 6875 | can be a string containing command line parameters that will be passed | 6883 | can be a string containing command line parameters that will be passed |
| 6876 | to the program; otherwise, PARAMETERS should be nil or unspecified. | 6884 | to the program. Some values of OPERATION also require parameters (e.g., |
| 6885 | \"printto\" requires the printer address). Otherwise, PARAMETERS should | ||
| 6886 | be nil or unspecified. | ||
| 6877 | 6887 | ||
| 6878 | Optional fourth argument SHOW-FLAG can be used to control how the | 6888 | Optional fourth argument SHOW-FLAG can be used to control how the |
| 6879 | application will be displayed when it is invoked. If SHOW-FLAG is nil | 6889 | application will be displayed when it is invoked. If SHOW-FLAG is nil |
| 6880 | or unspecified, the application is displayed normally, otherwise it is | 6890 | or unspecified, the application is displayed as if SHOW-FLAG of 10 was |
| 6881 | an integer representing a ShowWindow flag: | 6891 | specified, otherwise it is an integer between 0 and 11 representing |
| 6892 | a ShowWindow flag: | ||
| 6882 | 6893 | ||
| 6883 | 0 - start hidden | 6894 | 0 - start hidden |
| 6884 | 1 - start normally | 6895 | 1 - start as normal-size window |
| 6885 | 3 - start maximized | 6896 | 3 - start in a maximized window |
| 6886 | 6 - start minimized */) | 6897 | 6 - start in a minimized window |
| 6898 | 10 - start as the application itself specifies; this is the default. */) | ||
| 6887 | (Lisp_Object operation, Lisp_Object document, Lisp_Object parameters, Lisp_Object show_flag) | 6899 | (Lisp_Object operation, Lisp_Object document, Lisp_Object parameters, Lisp_Object show_flag) |
| 6888 | { | 6900 | { |
| 6889 | char *errstr; | 6901 | char *errstr; |