The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
787713a
)
Backfill read-answer for Emacs 26.1
author
Alex Schroeder
<alex@gnu.org>
Wed, 30 Jun 2021 13:11:05 +0000
(15:11 +0200)
committer
Alex Schroeder
<alex@gnu.org>
Wed, 30 Jun 2021 13:22:38 +0000
(15:22 +0200)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
967a8ce
..
c7be956
100644
(file)
--- 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))