diff options
| author | Deniz Dogan | 2011-05-29 07:42:00 +0200 |
|---|---|---|
| committer | Deniz Dogan | 2011-05-29 07:42:00 +0200 |
| commit | 80aec7804779b5567d40ad90116dadf61508aa91 (patch) | |
| tree | 3cf28be69f9033129b1e16d5c700d7cad7950e8c | |
| parent | 0196f88a60a053e435a65e3c418e11866bf4ae22 (diff) | |
| download | emacs-80aec7804779b5567d40ad90116dadf61508aa91.tar.gz emacs-80aec7804779b5567d40ad90116dadf61508aa91.zip | |
* net/rcirc.el (rcirc): Use the user's stored encryption method by default.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a236441a349..b82b56dd166 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-29 Deniz Dogan <deniz@dogan.se> | ||
| 2 | |||
| 3 | * net/rcirc.el (rcirc): Use the user's stored encryption method by | ||
| 4 | default. | ||
| 5 | |||
| 1 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * select.el: Don't perform clipboard-manager saving in hooks; | 8 | * select.el: Don't perform clipboard-manager saving in hooks; |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 0d02688beed..47085af85f0 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -456,7 +456,12 @@ If ARG is non-nil, instead prompt for connection parameters." | |||
| 456 | (encryption | 456 | (encryption |
| 457 | (intern (completing-read "Encryption (default plain): " | 457 | (intern (completing-read "Encryption (default plain): " |
| 458 | '("plain" "tls") | 458 | '("plain" "tls") |
| 459 | nil t nil nil "plain")))) | 459 | nil t |
| 460 | (let ((choice (plist-get server-plist | ||
| 461 | :encryption))) | ||
| 462 | (when choice | ||
| 463 | (symbol-name choice))) | ||
| 464 | nil "plain")))) | ||
| 460 | (rcirc-connect server port nick user-name | 465 | (rcirc-connect server port nick user-name |
| 461 | rcirc-default-full-name | 466 | rcirc-default-full-name |
| 462 | channels password encryption)) | 467 | channels password encryption)) |