HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* lisp/progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
[bpt/emacs.git]
/
src
/
nsselect.m
diff --git
a/src/nsselect.m
b/src/nsselect.m
index
f4713cb
..
038849c
100644
(file)
--- a/
src/nsselect.m
+++ b/
src/nsselect.m
@@
-429,7
+429,9
@@
On Nextstep, TERMINAL is unused. */)
id pb;
NSArray *types;
- check_window_system (NULL);
+ if (!window_system_available (NULL))
+ return Qnil;
+
CHECK_SYMBOL (selection);
if (EQ (selection, Qnil)) selection = QPRIMARY;
if (EQ (selection, Qt)) selection = QSECONDARY;