aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeniz Dogan2011-06-05 21:39:17 +0200
committerDeniz Dogan2011-06-05 21:39:17 +0200
commit7e821d0da8ac3e8a96071bd1198dc271f56460e9 (patch)
tree44d574d3fcabb4cdc317bdb61868c63595151c2d
parenta059fe247c6ba6be105986b229bf2d8374f40583 (diff)
downloademacs-7e821d0da8ac3e8a96071bd1198dc271f56460e9.tar.gz
emacs-7e821d0da8ac3e8a96071bd1198dc271f56460e9.zip
* lisp/net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced in last change.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/rcirc.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f5a26ed8482..a98aa1ba52d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12011-06-05 Deniz Dogan <deniz@dogan.se> 12011-06-05 Deniz Dogan <deniz@dogan.se>
2 2
3 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4 in last change.
5
62011-06-05 Deniz Dogan <deniz@dogan.se>
7
3 * net/rcirc.el (rcirc-prompt-for-encryption): New function. 8 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4 (rcirc): Use it to prompt for encryption. 9 (rcirc): Use it to prompt for encryption.
5 10
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index bf4faba5197..70190867e89 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -594,10 +594,10 @@ SERVER-PLIST is the property list for the server."
594 (let ((msg "Encryption (default %s): ") 594 (let ((msg "Encryption (default %s): ")
595 (choices '("plain" "tls")) 595 (choices '("plain" "tls"))
596 (default (or (plist-get server-plist :encryption) 596 (default (or (plist-get server-plist :encryption)
597 "plain"))) 597 'plain)))
598 (intern 598 (intern
599 (completing-read (format msg default) 599 (completing-read (format msg default)
600 choices nil t "" nil default)))) 600 choices nil t nil nil (symbol-name default)))))
601 601
602(defun rcirc-keepalive () 602(defun rcirc-keepalive ()
603 "Send keep alive pings to active rcirc processes. 603 "Send keep alive pings to active rcirc processes.