Function: rcirc-prompt-for-encryption
rcirc-prompt-for-encryption is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-prompt-for-encryption SERVER-PLIST)
Documentation
Prompt the user for the encryption method to use.
SERVER-PLIST is the property list for the server.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-prompt-for-encryption (server-plist)
"Prompt the user for the encryption method to use.
SERVER-PLIST is the property list for the server."
(if (or (eq (plist-get server-plist :encryption) 'plain)
(yes-or-no-p "Encrypt connection?"))
'tls 'plain))