emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/elpher 5982f725ac 1/2: Cleanly handle C-g at client certif


From: ELPA Syncer
Subject: [nongnu] elpa/elpher 5982f725ac 1/2: Cleanly handle C-g at client certificate prompt.
Date: Fri, 31 Mar 2023 04:00:41 -0400 (EDT)

branch: elpa/elpher
commit 5982f725ac58e53efe63e47ffa28bc41c8306318
Author: plugd <plugd@thelambdalab.xyz>
Commit: plugd <plugd@thelambdalab.xyz>

    Cleanly handle C-g at client certificate prompt.
---
 elpher.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elpher.el b/elpher.el
index 809e41fdfd..2ba5e8e42f 100644
--- a/elpher.el
+++ b/elpher.el
@@ -1391,7 +1391,8 @@ that the response was malformed."
             (insert "Gemini server is requesting a valid TLS 
certificate:\n\n"))
           (auto-fill-mode 1)
           (elpher-gemini-insert-text response-meta))
-         (let ((chosen-certificate (elpher-choose-client-certificate)))
+         (let ((chosen-certificate
+                (with-local-quit (elpher-choose-client-certificate))))
            (unless chosen-certificate
              (error "Gemini server requires a client certificate and none was 
provided"))
            (setq elpher-client-certificate chosen-certificate))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]