X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elpher.el;h=c7be95696678297ba12a5db23ddf4eb4205411ca;hp=967a8cec28a32d51d3e02c44ea7cf0956cc65b5f;hb=643db98943ce0136ae674e6d45293ff02680a399;hpb=787713a152300c5456357d2252d841c085d1b87e diff --git a/elpher.el b/elpher.el index 967a8ce..c7be956 100644 --- a/elpher.el +++ b/elpher.el @@ -1271,6 +1271,11 @@ that the response was malformed." (error "Gemini server response unknown: %s %s" response-code response-meta)))))) +(unless (fboundp 'read-answer) + (defun read-answer (question answers) + "Backfill for the new read-answer code." + (completing-read question (mapcar 'identity answers)))) + (defun elpher-choose-client-certificate () "Prompt for a client certificate to use to establish a TLS connection." (let* ((read-answer-short t))