From c6d4b63f25fd44f22c5de4c8f5017812b7017ff6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 5 Feb 2016 17:48:44 +1100 Subject: [PATCH] Make the nsm query say what it did after the user interaction * lisp/net/nsm.el (nsm-query): Issue a message about aborting/accepting messages (suggested by N. Jackson) (bug#22531). --- lisp/net/nsm.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index d93b1bb14db..72bff66c381 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el @@ -307,7 +307,13 @@ unencrypted." (quit 'no) (error 'no)))) (if (eq response 'no) - nil + (progn + (message "Aborting connection to %s:%s" host port) + nil) + (message (if (eq response 'session) + "Accepting certificate for %s:%s this session only" + "Permanently accepting certificate for %s:%s") + host port) (nsm-save-host host port status what response) t)))) -- 2.39.2