* lisp/net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced in last change.

This commit is contained in:
Deniz Dogan
2011-06-05 21:39:17 +02:00
parent a059fe247c
commit 7e821d0da8
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2011-06-05 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
in last change.
2011-06-05 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el (rcirc-prompt-for-encryption): New function.

View File

@@ -594,10 +594,10 @@ SERVER-PLIST is the property list for the server."
(let ((msg "Encryption (default %s): ")
(choices '("plain" "tls"))
(default (or (plist-get server-plist :encryption)
"plain")))
'plain)))
(intern
(completing-read (format msg default)
choices nil t "" nil default))))
choices nil t nil nil (symbol-name default)))))
(defun rcirc-keepalive ()
"Send keep alive pings to active rcirc processes.