diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-07-12 12:25:29 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-07-12 12:25:29 +0300 |
commit | 47f63aa79abed1da90fabd637529d5f8161f84fa (patch) | |
tree | 9aae64b8c1eb38ea45daf7e482a07c6f28b21a26 /src/w32fns.c | |
parent | a5a8e250d5fc17b3e4a7955f2c896f2b050b2960 (diff) | |
download | emacs-47f63aa79abed1da90fabd637529d5f8161f84fa.tar.gz |
Document the behavior of file selection dialogs on Windows 7 (bug #17950).
etc/PROBLEMS: Mention the problem from bug #17950.
src/w32fns.c (Fx_file_dialog): Mention in the doc string the
behavior on Windows 7 and later when the function is repeatedly
invoked with the same value of DIR.
src/xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc
string to match the one in w32fns.c.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 638c617df99..1c73cda469a 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -6436,7 +6436,11 @@ or directory must exist. This function is only defined on NS, MS Windows, and X Windows with the Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored. -Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) +Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. +On Windows 7 and later, the file selection dialog "remembers" the last +directory where the user selected a file, and will open that directory +instead of DIR on subsequent invocations of this function with the same +value of DIR as in previous invocations; this is standard Windows behavior. */) (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, Lisp_Object mustmatch, Lisp_Object only_dir_p) { /* Filter index: 1: All Files, 2: Directories only */ |