Commit c6d4b63f authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

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).
parent 13005688
...@@ -307,7 +307,13 @@ unencrypted." ...@@ -307,7 +307,13 @@ unencrypted."
(quit 'no) (quit 'no)
(error 'no)))) (error 'no))))
(if (eq response '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) (nsm-save-host host port status what response)
t)))) t))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment