Commit 879e3628 authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsselect.m (Fx_selection_exists_p): Just return Qnil if window system

not initialized.

Fixes: debbugs:17398
parent dccb0688
2014-05-05 Jan Djärv <jan.h.d@swipnet.se>
* nsselect.m (Fx_selection_exists_p): Just return Qnil if window system
not initialized (Bug#17398).
2014-05-04 Paul Eggert <eggert@cs.ucla.edu>
Revert recent libpng changes (Bug#17339).
......
......@@ -429,7 +429,9 @@ Updated by Christian Limpach (chris@nice.ch)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment