mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(x_get_foreign_selection): Return nil if desired selection could not
be obtained, instead of signalling an error.
This commit is contained in:
parent
1eff4ab33b
commit
12061f06d7
1 changed files with 1 additions and 1 deletions
|
|
@ -1471,7 +1471,7 @@ x_get_foreign_selection (selection_symbol, target_type, time_stamp)
|
|||
if (NILP (XCAR (reading_selection_reply)))
|
||||
error ("Timed out waiting for reply from selection owner");
|
||||
if (EQ (XCAR (reading_selection_reply), Qlambda))
|
||||
error ("No `%s' selection", SDATA (SYMBOL_NAME (selection_symbol)));
|
||||
return Qnil;
|
||||
|
||||
/* Otherwise, the selection is waiting for us on the requested property. */
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue