aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2006-02-21 08:37:33 +0000
committerJan Djärv2006-02-21 08:37:33 +0000
commita8f4bdc694f9a0b19f48bb6b55d3722386714b89 (patch)
treea1cb2f63f0617128dbfc1f4af6d415ef68effdd5 /src
parent9866a438ccf4cdae8b8128cb16a0affdc3aad7f9 (diff)
downloademacs-a8f4bdc694f9a0b19f48bb6b55d3722386714b89.tar.gz
emacs-a8f4bdc694f9a0b19f48bb6b55d3722386714b89.zip
* xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xfns.c10
2 files changed, 13 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d4439ac1f91..4e91240b34d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12006-02-21 Zhang Wei <brep@newsmth.org>
2
3 * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
4 returning it.
5
12006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr> 62006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr>
2 7
3 * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. 8 * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'.
diff --git a/src/xfns.c b/src/xfns.c
index e2449a8f3c0..9f221efb5de 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5329,6 +5329,7 @@ or directory must exist. ONLY-DIR-P is ignored." */)
5329 int result; 5329 int result;
5330 struct frame *f = SELECTED_FRAME (); 5330 struct frame *f = SELECTED_FRAME ();
5331 Lisp_Object file = Qnil; 5331 Lisp_Object file = Qnil;
5332 Lisp_Object decoded_file;
5332 Widget dialog, text, help; 5333 Widget dialog, text, help;
5333 Arg al[10]; 5334 Arg al[10];
5334 int ac = 0; 5335 int ac = 0;
@@ -5469,7 +5470,9 @@ or directory must exist. ONLY-DIR-P is ignored." */)
5469 if (NILP (file)) 5470 if (NILP (file))
5470 Fsignal (Qquit, Qnil); 5471 Fsignal (Qquit, Qnil);
5471 5472
5472 return unbind_to (count, file); 5473 decoded_file = DECODE_FILE (file);
5474
5475 return unbind_to (count, decoded_file);
5473} 5476}
5474 5477
5475#endif /* USE_MOTIF */ 5478#endif /* USE_MOTIF */
@@ -5497,6 +5500,7 @@ directories. */)
5497 FRAME_PTR f = SELECTED_FRAME (); 5500 FRAME_PTR f = SELECTED_FRAME ();
5498 char *fn; 5501 char *fn;
5499 Lisp_Object file = Qnil; 5502 Lisp_Object file = Qnil;
5503 Lisp_Object decoded_file;
5500 int count = SPECPDL_INDEX (); 5504 int count = SPECPDL_INDEX ();
5501 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6; 5505 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6;
5502 char *cdef_file; 5506 char *cdef_file;
@@ -5537,7 +5541,9 @@ directories. */)
5537 if (NILP (file)) 5541 if (NILP (file))
5538 Fsignal (Qquit, Qnil); 5542 Fsignal (Qquit, Qnil);
5539 5543
5540 return unbind_to (count, file); 5544 decoded_file = DECODE_FILE (file);
5545
5546 return unbind_to (count, decoded_file);
5541} 5547}
5542 5548
5543#endif /* USE_GTK */ 5549#endif /* USE_GTK */