diff options
| author | Jason Rumney | 2005-06-10 23:03:28 +0000 |
|---|---|---|
| committer | Jason Rumney | 2005-06-10 23:03:28 +0000 |
| commit | ba6f3859e02ec8ff4b2d7ba179efa1ee3fb0243c (patch) | |
| tree | 54d551377fded3ca01c90df3d3c7ec97dc1ebcfc /src/macfns.c | |
| parent | 4b53b8d7eed13c7b1487c8afbc1246cd590e317d (diff) | |
| download | emacs-ba6f3859e02ec8ff4b2d7ba179efa1ee3fb0243c.tar.gz emacs-ba6f3859e02ec8ff4b2d7ba179efa1ee3fb0243c.zip | |
(Fx_file_dialog): Unblock input before falling back to minibuffer.
Diffstat (limited to 'src/macfns.c')
| -rw-r--r-- | src/macfns.c | 3 |
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. */) | |||
| 4375 | break; | 4375 | break; |
| 4376 | } | 4376 | } |
| 4377 | NavDialogDispose(dialogRef); | 4377 | NavDialogDispose(dialogRef); |
| 4378 | UNBLOCK_INPUT; | ||
| 4378 | } | 4379 | } |
| 4379 | else { | 4380 | else { |
| 4381 | UNBLOCK_INPUT; | ||
| 4380 | /* Fall back on minibuffer if there was a problem */ | 4382 | /* Fall back on minibuffer if there was a problem */ |
| 4381 | file = Fcompleting_read (prompt, intern ("read-file-name-internal"), | 4383 | file = Fcompleting_read (prompt, intern ("read-file-name-internal"), |
| 4382 | dir, mustmatch, dir, Qfile_name_history, | 4384 | dir, mustmatch, dir, Qfile_name_history, |
| 4383 | default_filename, Qnil); | 4385 | default_filename, Qnil); |
| 4384 | } | 4386 | } |
| 4385 | UNBLOCK_INPUT; | ||
| 4386 | } | 4387 | } |
| 4387 | 4388 | ||
| 4388 | UNGCPRO; | 4389 | UNGCPRO; |