Commit 567457e3 authored by Leo Liu's avatar Leo Liu
Browse files

New rcirc command rcirc-cmd-invite

See: http://debbugs.gnu.org/9453
parent 97f05794
2011-09-08 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2011-09-08 Juri Linkov <juri@jurta.org>
* progmodes/compile.el (compilation-environment): Make it
......
......@@ -2141,6 +2141,16 @@ CHANNELS is a comma- or space-separated string of channel names."
(dolist (b buffers) ;; order the new channel buffers in the buffer list
(switch-to-buffer b)))))
(defun-rcirc-command invite (nick-channel)
"Invite NICK to CHANNEL."
(interactive (list
(concat
(completing-read "Invite nick: "
(with-rcirc-server-buffer rcirc-nick-table))
" "
(read-string "Channel: "))))
(rcirc-send-string process (concat "INVITE " nick-channel)))
;; TODO: /part #channel reason, or consider removing #channel altogether
(defun-rcirc-command part (channel)
"Part CHANNEL."
......
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