Commit fcd8ed1d authored by Deniz Dogan's avatar Deniz Dogan
Browse files

* lisp/net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.

parent 71f8b7ed
2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
* net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
2011-03-03 Christian Ohler <ohler@gnu.org>
 
* emacs-lisp/ert.el (ert--explain-equal): New function.
......
......@@ -2104,7 +2104,8 @@ CHANNELS is a comma- or space-separated string of channel names."
(let* ((split-channels (split-string channels "[ ,]" t))
(buffers (mapcar (lambda (ch)
(rcirc-get-buffer-create process ch))
split-channels)))
split-channels))
(channels (mapconcat 'identity split-channels ",")))
(rcirc-send-string process (concat "JOIN " channels))
(when (not (eq (selected-window) (minibuffer-window)))
(dolist (b buffers) ;; order the new channel buffers in the buffer list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment