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
806048df
Commit
806048df
authored
Jun 26, 1995
by
Richard M. Stallman
Browse files
(Fx_open_connection, x_display_info_for_name):
Error if window-system is not x.
parent
32fda9ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/xfns.c
src/xfns.c
+6
-0
No files found.
src/xfns.c
View file @
806048df
...
...
@@ -4673,6 +4673,9 @@ x_display_info_for_name (name)
CHECK_STRING
(
name
,
0
);
if
(
!
EQ
(
Vwindow_system
,
intern
(
"x"
)))
error
(
"Not using X Windows"
);
for
(
dpyinfo
=
x_display_list
,
names
=
x_display_name_list
;
dpyinfo
;
dpyinfo
=
dpyinfo
->
next
,
names
=
XCONS
(
names
)
->
cdr
)
...
...
@@ -4717,6 +4720,9 @@ terminate Emacs if we can't open the connection.")
if
(
!
NILP
(
xrm_string
))
CHECK_STRING
(
xrm_string
,
1
);
if
(
!
EQ
(
Vwindow_system
,
intern
(
"x"
)))
error
(
"Not using X Windows"
);
if
(
!
NILP
(
xrm_string
))
xrm_option
=
(
unsigned
char
*
)
XSTRING
(
xrm_string
)
->
data
;
else
...
...
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