# HG changeset patch # User Jan Dj¸«£rv # Date 1135679991 0 # Node ID 095b057239969ba9efca73686dcb2cf2330eea51 # Parent 53d14610ec352ce304ab076c9b227b9fa6c0e7a7 * xfns.c: x_show_hidden_files, new variable. (syms_of_xfns): Defvar it. diff -r 53d14610ec35 -r 095b05723996 src/xfns.c --- a/src/xfns.c Tue Dec 27 05:47:21 2005 +0000 +++ b/src/xfns.c Tue Dec 27 10:39:51 2005 +0000 @@ -154,6 +154,10 @@ int x_use_old_gtk_file_dialog; +/* If non-zero, by default show hidden files in the GTK file chooser. */ + +int x_gtk_show_hidden_files; + /* The background and shape of the mouse pointer, and shape when not over text or in the modeline. */ @@ -5788,6 +5792,12 @@ variable `use-file-dialog'. */); x_use_old_gtk_file_dialog = 0; + DEFVAR_BOOL ("x-gtk-show-hidden-files", &x_gtk_show_hidden_files, + doc: /* *If non-nil, the GTK file chooser will by default show hidden files. +Note that this is just the default, there is a toggle button on the file +chooser to show or not show hidden files on a case by case basis. */); + x_gtk_show_hidden_files = 0; + Fprovide (intern ("x"), Qnil); #ifdef USE_X_TOOLKIT