diff options
| author | Chong Yidong | 2007-04-07 03:52:21 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-04-07 03:52:21 +0000 |
| commit | 08b53f053738b723262aa120d272d0559cd7b1b8 (patch) | |
| tree | cacd5f48307ff751579423d0cddc0cbf83275d1f /lisp | |
| parent | 6ff11588f000ce6d1250c0a4aef76310caffa976 (diff) | |
| download | emacs-08b53f053738b723262aa120d272d0559cd7b1b8.tar.gz emacs-08b53f053738b723262aa120d272d0559cd7b1b8.zip | |
(open-tls-stream): Properly handle case where there is no associated
buffer.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/tls.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/tls.el b/lisp/net/tls.el index 9de74ca19d4..ee093571dec 100644 --- a/lisp/net/tls.el +++ b/lisp/net/tls.el | |||
| @@ -142,6 +142,7 @@ Fourth arg PORT is an integer specifying a port to connect to." | |||
| 142 | response) | 142 | response) |
| 143 | (while (and process | 143 | (while (and process |
| 144 | (memq (process-status process) '(open run)) | 144 | (memq (process-status process) '(open run)) |
| 145 | buffer | ||
| 145 | (save-excursion | 146 | (save-excursion |
| 146 | (set-buffer buffer) ;; XXX "blue moon" nntp.el bug | 147 | (set-buffer buffer) ;; XXX "blue moon" nntp.el bug |
| 147 | (goto-char (point-min)) | 148 | (goto-char (point-min)) |