HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2b5de61
)
(Fx_selection_exists_p): If selected_frame isn't an x frame, return nil.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 24 Oct 1994 21:59:55 +0000
(21:59 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 24 Oct 1994 21:59:55 +0000
(21:59 +0000)
src/xselect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index
b34686c
..
282bfa8
100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-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)))