mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
(open-tls-stream): Use with-current-buffer.
This commit is contained in:
parent
9b655dbfd7
commit
169dcbc59a
@ -2,6 +2,7 @@
|
||||
|
||||
* net/tls.el: Don't require rx when compiling.
|
||||
(tls-end-of-info): Rewrite without using rx.
|
||||
(open-tls-stream): Use with-current-buffer.
|
||||
|
||||
2008-03-18 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
|
@ -153,8 +153,7 @@ Fourth arg PORT is an integer specifying a port to connect to."
|
||||
process cmd done)
|
||||
(if use-temp-buffer
|
||||
(setq buffer (generate-new-buffer " TLS")))
|
||||
(save-excursion
|
||||
(set-buffer buffer)
|
||||
(with-current-buffer buffer
|
||||
(message "Opening TLS connection to `%s'..." host)
|
||||
(while (and (not done) (setq cmd (pop cmds)))
|
||||
(message "Opening TLS connection with `%s'..." cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user