From: plugd Date: Thu, 6 Mar 2025 14:02:25 +0000 (+0100) Subject: Merge and robustify (??) iggy's commit. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=085a0ce0d1e571e1edfef9dd7af5d23816a5248a;p=elpher.git Merge and robustify (??) iggy's commit. --- 085a0ce0d1e571e1edfef9dd7af5d23816a5248a diff --cc elpher.el index 609eef6,2d9bc21..62356e5 --- a/elpher.el +++ b/elpher.el @@@ -1473,7 -1473,7 +1473,7 @@@ having URLs begining with URL-PREFIX. #'string-prefix-p))) (if entry (let ((cert-url-prefix (car entry)) - (cert-name (cadr entry))) - (cert-name (cdr entry))) ++ (cert-name (if (consp (cdr entry)) (cadr entry) (cdr entry)))) (message "Using certificate \"%s\" specified in elpher-certificate-map with prefix \"%s\"" cert-name cert-url-prefix) (elpher-get-existing-certificate cert-name cert-url-prefix))