From 83929d0de04101325cc1ce32b7b904ab64640765 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 28 Nov 2010 13:42:28 +0100 Subject: [PATCH] Actually mention the STARTTLS upgrade. --- lisp/proto-stream.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/proto-stream.el b/lisp/proto-stream.el index 363ec7300..3cbbb9807 100644 --- a/lisp/proto-stream.el +++ b/lisp/proto-stream.el @@ -66,7 +66,7 @@ ;;;###autoload (defun open-protocol-stream (name buffer host service &rest parameters) - "Open a network stream to HOST. + "Open a network stream to HOST, upgrading to STARTTLS if possible. The first four parameters have the same meaning as in `open-network-stream'. The function returns a list where the first element is the stream, the second element is the greeting @@ -77,7 +77,9 @@ The PARAMETERS is a keyword list that can have the following values: :type -- either `network', `tls', `shell' or `starttls'. If -omitted, the default is `network'. +omitted, the default is `network'. `network' will be +opportunistically upgraded to STARTTLS if both the server and +Emacs supports it. :end-of-command -- a regexp saying what the end of a command is. This defaults to \"\\n\". -- 2.25.1