Handle not having an active window

This commit is contained in:
Tom Willemse 2016-08-29 15:28:13 +02:00
parent 7aa25f2a5b
commit ecf3ec6533

View file

@ -14,7 +14,7 @@
(submatch "0x" (+ hex-digit))
"\n"))
(match (regexp-search re output)))
(match:substring match 1)))
(and match (match:substring match 1))))
(define (pull-element-to-front elt collection)
(if (string= (car collection) elt)