Fixed error in previous commit.
authorTim Vaughan <tgvaughan@gmail.com>
Fri, 16 Aug 2019 14:12:54 +0000 (16:12 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Fri, 16 Aug 2019 14:12:54 +0000 (16:12 +0200)
elpher.el

index ea95aee..889c79b 100644 (file)
--- 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)))))