# HG changeset patch # User Chong Yidong # Date 1175917941 0 # Node ID 5c43ac4064619cc67dd4ac6459642dd984ffd51e # Parent 35ca16426f7cd487a3c2f768f066cee3b73d19c4 (open-tls-stream): Properly handle case where there is no associated buffer. diff -r 35ca16426f7c -r 5c43ac406461 lisp/net/tls.el --- a/lisp/net/tls.el Sat Apr 07 03:51:48 2007 +0000 +++ b/lisp/net/tls.el Sat Apr 07 03:52:21 2007 +0000 @@ -142,6 +142,7 @@ response) (while (and process (memq (process-status process) '(open run)) + buffer (save-excursion (set-buffer buffer) ;; XXX "blue moon" nntp.el bug (goto-char (point-min))