Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
28f5da6d
Commit
28f5da6d
authored
Jun 05, 2013
by
Ted Zlatanov
Browse files
(open-tls-stream): Remove unneeded buffer contents when opening the connection.
parent
781b4af6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
lisp/ChangeLog
lisp/ChangeLog
+7
-0
lisp/net/tls.el
lisp/net/tls.el
+4
-1
No files found.
lisp/ChangeLog
View file @
28f5da6d
2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
* net/tls.el (open-tls-stream): Remove unneeded buffer contents up
to point when opening the connection.
Suggested by João Távora <joaotavora@gmail.com> in
<http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00464.html>.
2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (load-history-regexp, load-history-filename-element)
lisp/net/tls.el
View file @
28f5da6d
...
...
@@ -286,7 +286,10 @@ NOT trusted. Accept anyway? " host)))))
(format "
Host
name
in
certificate
doesn
't
\
match
`
%s
'.
Connect
anyway?
" host))))))
(setq done nil)
(delete-process process)))
(delete-process process))
;; Delete all the informational messages that could confuse
;; future uses of `buffer'.
(delete-region (point-min) (point)))
(message "
Opening
TLS
connection
to
`
%s
'...%s
"
host (if done "
done
" "
failed
"
))
(
when
use-temp-buffer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment