summaryrefslogtreecommitdiff
path: root/src/macfns.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2005-06-10 23:03:28 +0000
committerJason Rumney <jasonr@gnu.org>2005-06-10 23:03:28 +0000
commitba6f3859e02ec8ff4b2d7ba179efa1ee3fb0243c (patch)
tree54d551377fded3ca01c90df3d3c7ec97dc1ebcfc /src/macfns.c
parent4b53b8d7eed13c7b1487c8afbc1246cd590e317d (diff)
downloademacs-ba6f3859e02ec8ff4b2d7ba179efa1ee3fb0243c.tar.gz
(Fx_file_dialog): Unblock input before falling back to minibuffer.
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/macfns.c b/src/macfns.c
index d0dd9b9c072..b26baf3eaf7 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -4375,14 +4375,15 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
break;
}
NavDialogDispose(dialogRef);
+ UNBLOCK_INPUT;
}
else {
+ UNBLOCK_INPUT;
/* Fall back on minibuffer if there was a problem */
file = Fcompleting_read (prompt, intern ("read-file-name-internal"),
dir, mustmatch, dir, Qfile_name_history,
default_filename, Qnil);
}
- UNBLOCK_INPUT;
}
UNGCPRO;