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
b8c70430
Commit
b8c70430
authored
Oct 24, 1994
by
Richard M. Stallman
Browse files
(Fx_selection_exists_p): If selected_frame isn't an x frame, return nil.
parent
2b5de615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/xselect.c
src/xselect.c
+4
-1
No files found.
src/xselect.c
View file @
b8c70430
...
...
@@ -1814,7 +1814,10 @@ and t is the same as `SECONDARY'.)")
Atom
atom
;
Display
*
dpy
;
check_x
();
/* It should be safe to call this before we have an X frame. */
if
(
FRAME_X_P
(
selected_frame
))
return
Qnil
;
dpy
=
FRAME_X_DISPLAY
(
selected_frame
);
CHECK_SYMBOL
(
selection
,
0
);
if
(
!
NILP
(
Fx_selection_owner_p
(
selection
)))
...
...
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