aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/w32fns.c6
-rw-r--r--src/xfns.c12
3 files changed, 24 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d2f1999b546..493bcde7418 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
12014-07-12 Eli Zaretskii <eliz@gnu.org>
2
3 * w32fns.c (Fx_file_dialog): Mention in the doc string the
4 behavior on Windows 7 and later when the function is repeatedly
5 invoked with the same value of DIR. (Bug#17950)
6
7 * xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc
8 string to match the one in w32fns.c.
9
12014-07-08 Eli Zaretskii <eliz@gnu.org> 102014-07-08 Eli Zaretskii <eliz@gnu.org>
2 11
3 * xdisp.c (move_it_to): Adjust calculation of line_start_x to what 12 * xdisp.c (move_it_to): Adjust calculation of line_start_x to what
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.
6436 6436
6437This function is only defined on NS, MS Windows, and X Windows with the 6437This function is only defined on NS, MS Windows, and X Windows with the
6438Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored. 6438Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored.
6439Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) 6439Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories.
6440On Windows 7 and later, the file selection dialog "remembers" the last
6441directory where the user selected a file, and will open that directory
6442instead of DIR on subsequent invocations of this function with the same
6443value of DIR as in previous invocations; this is standard Windows behavior. */)
6440 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, Lisp_Object mustmatch, Lisp_Object only_dir_p) 6444 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, Lisp_Object mustmatch, Lisp_Object only_dir_p)
6441{ 6445{
6442 /* Filter index: 1: All Files, 2: Directories only */ 6446 /* Filter index: 1: All Files, 2: Directories only */
diff --git a/src/xfns.c b/src/xfns.c
index 692504ef762..23fba44f1f3 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5658,7 +5658,11 @@ or directory must exist.
5658 5658
5659This function is only defined on NS, MS Windows, and X Windows with the 5659This function is only defined on NS, MS Windows, and X Windows with the
5660Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored. 5660Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored.
5661Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) 5661Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories.
5662On Windows 7 and later, the file selection dialog "remembers" the last
5663directory where the user selected a file, and will open that directory
5664instead of DIR on subsequent invocations of this function with the same
5665value of DIR as in previous invocations; this is standard Windows behavior. */)
5662 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, 5666 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename,
5663 Lisp_Object mustmatch, Lisp_Object only_dir_p) 5667 Lisp_Object mustmatch, Lisp_Object only_dir_p)
5664{ 5668{
@@ -5830,7 +5834,11 @@ or directory must exist.
5830 5834
5831This function is only defined on NS, MS Windows, and X Windows with the 5835This function is only defined on NS, MS Windows, and X Windows with the
5832Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored. 5836Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored.
5833Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) 5837Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories.
5838On Windows 7 and later, the file selection dialog "remembers" the last
5839directory where the user selected a file, and will open that directory
5840instead of DIR on subsequent invocations of this function with the same
5841value of DIR as in previous invocations; this is standard Windows behavior. */)
5834 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, Lisp_Object mustmatch, Lisp_Object only_dir_p) 5842 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object default_filename, Lisp_Object mustmatch, Lisp_Object only_dir_p)
5835{ 5843{
5836 struct frame *f = SELECTED_FRAME (); 5844 struct frame *f = SELECTED_FRAME ();