mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
(Fw32_shell_execute): Encode parameters.
This commit is contained in:
parent
6a146d317d
commit
3bc143ebde
1 changed files with 4 additions and 1 deletions
|
|
@ -8105,9 +8105,12 @@ an integer representing a ShowWindow flag:
|
|||
|
||||
CHECK_STRING (document);
|
||||
|
||||
/* Encode filename and current directory. */
|
||||
/* Encode filename, current directory and parameters. */
|
||||
current_dir = ENCODE_FILE (current_buffer->directory);
|
||||
document = ENCODE_FILE (document);
|
||||
if (STRINGP (parameters))
|
||||
parameters = ENCODE_SYSTEM (parameters);
|
||||
|
||||
if ((int) ShellExecute (NULL,
|
||||
(STRINGP (operation) ?
|
||||
SDATA (operation) : NULL),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue