* lisp/net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced in last change.
authorDeniz Dogan <deniz@dogan.se>
Sun, 5 Jun 2011 19:39:17 +0000 (21:39 +0200)
committerDeniz Dogan <deniz@dogan.se>
Sun, 5 Jun 2011 19:39:17 +0000 (21:39 +0200)
lisp/ChangeLog
lisp/net/rcirc.el

index f5a26ed..a98aa1b 100644 (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.
index bf4faba..7019086 100644 (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.