diff options
| author | Ivan Shmakov | 2015-02-15 23:08:03 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2015-02-15 23:08:03 +0000 |
| commit | 4aafd19a0e800607e36779f423052df8b7a84f5f (patch) | |
| tree | f4694f279bffef83b0709cf5751129443fce1bac | |
| parent | 45c5ccd48cee9c703e64fc67139a2e3bb8e9b3a5 (diff) | |
| download | emacs-4aafd19a0e800607e36779f423052df8b7a84f5f.tar.gz emacs-4aafd19a0e800607e36779f423052df8b7a84f5f.zip | |
Make `url-retrieve-synchronously' work again with news:
* lisp/gnus/nntp.el (nntp-open-server): Set variables in the correct buffer
(bug#19583).
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nntp.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b9ae796782d..df331984865 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-02-14 Ivan Shmakov <ivan@siamics.net> | ||
| 2 | |||
| 3 | * nntp.el (nntp-open-server): Set variables in the correct buffer | ||
| 4 | (bug#19583). | ||
| 5 | |||
| 1 | 2015-02-14 Lars Ingebrigtsen <larsi@gnus.org> | 6 | 2015-02-14 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * mm-decode.el (mm-head-p): New function. | 8 | * mm-decode.el (mm-head-p): New function. |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 0891dba0387..a86f45e8bf3 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -1066,7 +1066,8 @@ command whose response triggered the error." | |||
| 1066 | (setq defs (cons (list 'nntp-port-number (car defs)) (cdr defs)))) | 1066 | (setq defs (cons (list 'nntp-port-number (car defs)) (cdr defs)))) |
| 1067 | (unless (assq 'nntp-address defs) | 1067 | (unless (assq 'nntp-address defs) |
| 1068 | (setq defs (append defs (list (list 'nntp-address server))))) | 1068 | (setq defs (append defs (list (list 'nntp-address server))))) |
| 1069 | (nnoo-change-server 'nntp server defs) | 1069 | (with-current-buffer nntp-server-buffer |
| 1070 | (nnoo-change-server 'nntp server defs)) | ||
| 1070 | (if connectionless | 1071 | (if connectionless |
| 1071 | t | 1072 | t |
| 1072 | (or (nntp-find-connection nntp-server-buffer) | 1073 | (or (nntp-find-connection nntp-server-buffer) |