Fix keysnail init syntax

This commit is contained in:
Tom Willemse 2016-02-08 01:06:40 +01:00
parent 13e88c967c
commit 83bb90540a

View file

@ -287,10 +287,10 @@ key.setEditKey('C-M-y', function (ev) {
if (!command.kill.ring.length) if (!command.kill.ring.length)
return; return;
let (ct = command.getClipboardText()) { let ct = command.getClipboardText();
(!command.kill.ring.length || ct != command.kill.ring[0]) &&
if (!command.kill.ring.length || ct != command.kill.ring[0])
command.pushKillRing(ct); command.pushKillRing(ct);
};
prompt.selector( prompt.selector(
{ {