X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elpher.el;h=889c79b89383f1f8d799a5ce3e43a7e8aa790339;hp=ea95aee605c5311b01ae99d9bd02631a7037a1ac;hb=bb6fa3a36f8c283d39829bb5adad997b9f9ab3d6;hpb=986d88c39d06c58fb23a7dfad037fec8235164b0 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)))))