diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2005-12-27 10:39:51 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2005-12-27 10:39:51 +0000 |
commit | a8a35720091ca039e331497e45d720bc8ff405c6 (patch) | |
tree | cc85e2a6034aec52a81a5d6920881518a50910f2 | |
parent | 212cc638bdc8e0560ea6945b306f150ad9f562e7 (diff) | |
download | emacs-a8a35720091ca039e331497e45d720bc8ff405c6.tar.gz emacs-a8a35720091ca039e331497e45d720bc8ff405c6.tar.bz2 emacs-a8a35720091ca039e331497e45d720bc8ff405c6.zip |
* xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.
-rw-r--r-- | src/xfns.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index 8cea134c1ff..33823b28970 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -154,6 +154,10 @@ int display_hourglass_p; 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 @@ chooser is used instead. To turn off all file dialogs set the 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 |