From bb6fa3a36f8c283d39829bb5adad997b9f9ab3d6 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Fri, 16 Aug 2019 16:12:54 +0200 Subject: [PATCH] Fixed error in previous commit. --- elpher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elpher.el b/elpher.el index ea95aee..889c79b 100644 --- a/elpher.el +++ b/elpher.el @@ -306,7 +306,7 @@ unless PRESERVE-PARENT is non-nil." (let* ((address (elpher-node-address node)) (type (elpher-address-type address)) (type-record (alist-get type elpher-type-map))) - (if (listp type-record) + (if type-record (funcall (car type-record)) (elpher-visit-parent-node) (error "Unsupported gopher selector type '%c'" type))))) -- 2.20.1