diff options
| author | Juanma Barranquero | 2005-06-23 16:17:04 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-23 16:17:04 +0000 |
| commit | 21517c3d40b031c5aed39ddbe15df1ee9afe803d (patch) | |
| tree | 394c2607a6c8c35d155864369e54ba3e5318f6a8 /src | |
| parent | b764a6537d3dbf1be1a32d5fed670b9ff7272100 (diff) | |
| download | emacs-21517c3d40b031c5aed39ddbe15df1ee9afe803d.tar.gz emacs-21517c3d40b031c5aed39ddbe15df1ee9afe803d.zip | |
(check_x_frame, check_x_display_info): Follow error conventions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 6a2f98c4c7d..e9af1b8ce2f 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -329,7 +329,7 @@ check_x_frame (frame) | |||
| 329 | CHECK_LIVE_FRAME (frame); | 329 | CHECK_LIVE_FRAME (frame); |
| 330 | f = XFRAME (frame); | 330 | f = XFRAME (frame); |
| 331 | if (! FRAME_W32_P (f)) | 331 | if (! FRAME_W32_P (f)) |
| 332 | error ("non-w32 frame used"); | 332 | error ("Non-W32 frame used"); |
| 333 | return f; | 333 | return f; |
| 334 | } | 334 | } |
| 335 | 335 | ||
| @@ -359,7 +359,7 @@ check_x_display_info (frame) | |||
| 359 | CHECK_LIVE_FRAME (frame); | 359 | CHECK_LIVE_FRAME (frame); |
| 360 | f = XFRAME (frame); | 360 | f = XFRAME (frame); |
| 361 | if (! FRAME_W32_P (f)) | 361 | if (! FRAME_W32_P (f)) |
| 362 | error ("non-w32 frame used"); | 362 | error ("Non-W32 frame used"); |
| 363 | return FRAME_W32_DISPLAY_INFO (f); | 363 | return FRAME_W32_DISPLAY_INFO (f); |
| 364 | } | 364 | } |
| 365 | } | 365 | } |
| @@ -7771,7 +7771,7 @@ typedef struct | |||
| 7771 | DWORD FlagsEx; | 7771 | DWORD FlagsEx; |
| 7772 | } NEWOPENFILENAME; | 7772 | } NEWOPENFILENAME; |
| 7773 | 7773 | ||
| 7774 | 7774 | ||
| 7775 | DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0, | 7775 | DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0, |
| 7776 | doc: /* Read file name, prompting with PROMPT in directory DIR. | 7776 | doc: /* Read file name, prompting with PROMPT in directory DIR. |
| 7777 | Use a file selection dialog. | 7777 | Use a file selection dialog. |
| @@ -7823,7 +7823,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */) | |||
| 7823 | NEWOPENFILENAME new_file_details; | 7823 | NEWOPENFILENAME new_file_details; |
| 7824 | BOOL file_opened = FALSE; | 7824 | BOOL file_opened = FALSE; |
| 7825 | OPENFILENAME * file_details = &new_file_details.real_details; | 7825 | OPENFILENAME * file_details = &new_file_details.real_details; |
| 7826 | 7826 | ||
| 7827 | /* Prevent redisplay. */ | 7827 | /* Prevent redisplay. */ |
| 7828 | specbind (Qinhibit_redisplay, Qt); | 7828 | specbind (Qinhibit_redisplay, Qt); |
| 7829 | BLOCK_INPUT; | 7829 | BLOCK_INPUT; |