# HG changeset patch # User Juanma Barranquero # Date 1138898903 0 # Node ID 2b5f6787aa4f7ee17f74405a78b8a9728230ec31 # Parent 488f65041f047a2e24671852a7c945081aad00b4 (rcirc-cmd-join): Improve argument/docstring consistency. diff -r 488f65041f04 -r 2b5f6787aa4f lisp/net/rcirc.el --- a/lisp/net/rcirc.el Thu Feb 02 16:34:58 2006 +0000 +++ b/lisp/net/rcirc.el Thu Feb 02 16:48:23 2006 +0000 @@ -1375,14 +1375,14 @@ (when (not existing-buffer) (rcirc-cmd-whois nick)))) -(defun-rcirc-command join (args) +(defun-rcirc-command join (channel) "Join CHANNEL." (interactive "sJoin channel: ") - (let* ((channel (car (split-string args))) - (buffer (rcirc-get-buffer-create process channel))) + (let ((buffer (rcirc-get-buffer-create process + (car (split-string channel))))) (when (not (eq (selected-window) (minibuffer-window))) (funcall rcirc-switch-to-buffer-function buffer)) - (rcirc-send-string process (concat "JOIN " args)))) + (rcirc-send-string process (concat "JOIN " channel)))) (defun-rcirc-command part (channel) "Part CHANNEL."