mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
* xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
returning it.
This commit is contained in:
parent
9866a438cc
commit
a8f4bdc694
@ -1,3 +1,8 @@
|
||||
2006-02-21 Zhang Wei <brep@newsmth.org>
|
||||
|
||||
* xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before
|
||||
returning it.
|
||||
|
||||
2006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr>
|
||||
|
||||
* fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'.
|
||||
|
10
src/xfns.c
10
src/xfns.c
@ -5329,6 +5329,7 @@ or directory must exist. ONLY-DIR-P is ignored." */)
|
||||
int result;
|
||||
struct frame *f = SELECTED_FRAME ();
|
||||
Lisp_Object file = Qnil;
|
||||
Lisp_Object decoded_file;
|
||||
Widget dialog, text, help;
|
||||
Arg al[10];
|
||||
int ac = 0;
|
||||
@ -5469,7 +5470,9 @@ or directory must exist. ONLY-DIR-P is ignored." */)
|
||||
if (NILP (file))
|
||||
Fsignal (Qquit, Qnil);
|
||||
|
||||
return unbind_to (count, file);
|
||||
decoded_file = DECODE_FILE (file);
|
||||
|
||||
return unbind_to (count, decoded_file);
|
||||
}
|
||||
|
||||
#endif /* USE_MOTIF */
|
||||
@ -5497,6 +5500,7 @@ directories. */)
|
||||
FRAME_PTR f = SELECTED_FRAME ();
|
||||
char *fn;
|
||||
Lisp_Object file = Qnil;
|
||||
Lisp_Object decoded_file;
|
||||
int count = SPECPDL_INDEX ();
|
||||
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6;
|
||||
char *cdef_file;
|
||||
@ -5537,7 +5541,9 @@ directories. */)
|
||||
if (NILP (file))
|
||||
Fsignal (Qquit, Qnil);
|
||||
|
||||
return unbind_to (count, file);
|
||||
decoded_file = DECODE_FILE (file);
|
||||
|
||||
return unbind_to (count, decoded_file);
|
||||
}
|
||||
|
||||
#endif /* USE_GTK */
|
||||
|
Loading…
Reference in New Issue
Block a user