Merged Michel Salim's patch. Thanks!
authorTim Vaughan <plugd@thelambdalab.xyz>
Sat, 19 Sep 2020 09:50:33 +0000 (11:50 +0200)
committerTim Vaughan <plugd@thelambdalab.xyz>
Sat, 19 Sep 2020 09:53:46 +0000 (11:53 +0200)
1  2 
elpher.el

diff --combined elpher.el
+++ b/elpher.el
@@@ -209,7 -209,7 +209,7 @@@ some servers which do not support IPv6 
    "Face used for html type directory records.")
  
  (defface elpher-gemini
 -  '((t :inherit font-lock-regexp-grouping-backslash))
 +  '((t :inherit font-lock-constant-face))
    "Face used for Gemini type directory records.")
  
  (defface elpher-other-url
@@@ -804,6 -804,8 +804,8 @@@ base for the installed key and certific
  
  (defun elpher-list-existing-certificates ()
    "Return a list of the persistent certificates in `elpher-certificate-directory'."
+   (unless (file-directory-p elpher-certificate-directory)
+     (make-directory elpher-certificate-directory))
    (mapcar
     (lambda (file)
       (file-name-sans-extension file))