X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=elpher.el;h=c7be95696678297ba12a5db23ddf4eb4205411ca;hp=867868e60efe08c2797403ea265293b6f42d8fae;hb=643db98943ce0136ae674e6d45293ff02680a399;hpb=f4e62a878412258f1f84c2115f6af90d4f8a9963 diff --git a/elpher.el b/elpher.el index 867868e..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)) @@ -1487,7 +1492,7 @@ width defined by `elpher-gemini-max-fill-width'." (propertize text-line 'face 'elpher-gemini-quoted)) (t text-line)) text-line)) - (adaptive-fill-mode nil)) + (adaptive-fill-mode t)) (insert (elpher-process-text-for-display processed-text-line)) (newline)))