Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
21517c3d
Commit
21517c3d
authored
Jun 23, 2005
by
Juanma Barranquero
Browse files
(check_x_frame, check_x_display_info): Follow error conventions.
parent
b764a653
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/w32fns.c
src/w32fns.c
+4
-4
No files found.
src/w32fns.c
View file @
21517c3d
...
...
@@ -329,7 +329,7 @@ check_x_frame (frame)
CHECK_LIVE_FRAME (frame);
f = XFRAME (frame);
if (! FRAME_W32_P (f))
error ("
n
on-
w
32 frame used");
error ("
N
on-
W
32 frame used");
return f;
}
...
...
@@ -359,7 +359,7 @@ check_x_display_info (frame)
CHECK_LIVE_FRAME (frame);
f = XFRAME (frame);
if (! FRAME_W32_P (f))
error ("
n
on-
w
32 frame used");
error ("
N
on-
W
32 frame used");
return FRAME_W32_DISPLAY_INFO (f);
}
}
...
...
@@ -7771,7 +7771,7 @@ typedef struct
DWORD FlagsEx;
} NEWOPENFILENAME;
DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0,
doc: /* Read file name, prompting with PROMPT in directory DIR.
Use a file selection dialog.
...
...
@@ -7823,7 +7823,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
NEWOPENFILENAME new_file_details;
BOOL file_opened = FALSE;
OPENFILENAME * file_details = &new_file_details.real_details;
/* Prevent redisplay. */
specbind (Qinhibit_redisplay, Qt);
BLOCK_INPUT;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment