diff options
| author | Wolfgang Jenkner | 2015-02-06 13:43:58 +1100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2015-02-06 14:13:44 +1100 |
| commit | 4f5033faf26c69c123452d750bb2adfa2e77666b (patch) | |
| tree | 90140fd478a8a1edf40a924c1e4099bc15d8bab6 | |
| parent | c0ba5908b117170995df36e839a087af7c5f79db (diff) | |
| download | emacs-4f5033faf26c69c123452d750bb2adfa2e77666b.tar.gz emacs-4f5033faf26c69c123452d750bb2adfa2e77666b.zip | |
Backport the :end-of-capability fix
* lisp/net/network-stream.el (network-stream-open-tls): Respect the
:end-of-capability setting (backport)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/network-stream.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6c3caa826e8..17b3d112432 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at> | ||
| 2 | |||
| 3 | * net/network-stream.el (network-stream-open-tls): Respect the | ||
| 4 | :end-of-capability setting. | ||
| 5 | |||
| 1 | 2015-02-05 Juri Linkov <juri@linkov.net> | 6 | 2015-02-05 Juri Linkov <juri@linkov.net> |
| 2 | 7 | ||
| 3 | Revert the previous change of comint-line-beginning-position callers, | 8 | Revert the previous change of comint-line-beginning-position callers, |
diff --git a/lisp/net/network-stream.el b/lisp/net/network-stream.el index ea03bc65499..8bf169dea70 100644 --- a/lisp/net/network-stream.el +++ b/lisp/net/network-stream.el | |||
| @@ -363,10 +363,12 @@ a greeting from the server. | |||
| 363 | (when (re-search-forward eoc nil t) | 363 | (when (re-search-forward eoc nil t) |
| 364 | (goto-char (match-beginning 0)) | 364 | (goto-char (match-beginning 0)) |
| 365 | (delete-region (point-min) (line-beginning-position)))) | 365 | (delete-region (point-min) (line-beginning-position)))) |
| 366 | (let* ((capability-command (plist-get parameters :capability-command))) | 366 | (let ((capability-command (plist-get parameters :capability-command)) |
| 367 | (eo-capa (or (plist-get parameters :end-of-capability) | ||
| 368 | eoc))) | ||
| 367 | (list stream | 369 | (list stream |
| 368 | (network-stream-get-response stream start eoc) | 370 | (network-stream-get-response stream start eoc) |
| 369 | (network-stream-command stream capability-command eoc) | 371 | (network-stream-command stream capability-command eo-capa) |
| 370 | 'tls)))))) | 372 | 'tls)))))) |
| 371 | 373 | ||
| 372 | (defun network-stream-open-shell (name buffer host service parameters) | 374 | (defun network-stream-open-shell (name buffer host service parameters) |