diff options
| author | Juanma Barranquero | 2006-02-02 16:49:58 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-02-02 16:49:58 +0000 |
| commit | f161b0795cbc9c189046326f80d45ea0df94e5a8 (patch) | |
| tree | 7b7d109869fb628a4a145ca577b792db10bf1c6f | |
| parent | ece9f5cc239e513a2e23ad453cd780eb36833780 (diff) | |
| download | emacs-f161b0795cbc9c189046326f80d45ea0df94e5a8.tar.gz emacs-f161b0795cbc9c189046326f80d45ea0df94e5a8.zip | |
(rcirc-cmd-join): Improve argument/docstring consistency.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d9feee95b4e..fb8f7713fe1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -52,6 +52,7 @@ | |||
| 52 | (rcirc-cmd-ignore, rcirc-browse-url, rcirc-url-regexp): | 52 | (rcirc-cmd-ignore, rcirc-browse-url, rcirc-url-regexp): |
| 53 | Fix typos in docstrings. | 53 | Fix typos in docstrings. |
| 54 | (rcirc-print): "?\ " -> "?\s". | 54 | (rcirc-print): "?\ " -> "?\s". |
| 55 | (rcirc-cmd-join): Improve argument/docstring consistency. | ||
| 55 | 56 | ||
| 56 | 2006-02-01 Mark A. Hershberger <mah@everybody.org> | 57 | 2006-02-01 Mark A. Hershberger <mah@everybody.org> |
| 57 | 58 | ||
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 44e3fa8c6ec..2e512ae4e19 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -1375,14 +1375,14 @@ Also, clear the overlay arrow if the current buffer is now hidden." | |||
| 1375 | (when (not existing-buffer) | 1375 | (when (not existing-buffer) |
| 1376 | (rcirc-cmd-whois nick)))) | 1376 | (rcirc-cmd-whois nick)))) |
| 1377 | 1377 | ||
| 1378 | (defun-rcirc-command join (args) | 1378 | (defun-rcirc-command join (channel) |
| 1379 | "Join CHANNEL." | 1379 | "Join CHANNEL." |
| 1380 | (interactive "sJoin channel: ") | 1380 | (interactive "sJoin channel: ") |
| 1381 | (let* ((channel (car (split-string args))) | 1381 | (let ((buffer (rcirc-get-buffer-create process |
| 1382 | (buffer (rcirc-get-buffer-create process channel))) | 1382 | (car (split-string channel))))) |
| 1383 | (when (not (eq (selected-window) (minibuffer-window))) | 1383 | (when (not (eq (selected-window) (minibuffer-window))) |
| 1384 | (funcall rcirc-switch-to-buffer-function buffer)) | 1384 | (funcall rcirc-switch-to-buffer-function buffer)) |
| 1385 | (rcirc-send-string process (concat "JOIN " args)))) | 1385 | (rcirc-send-string process (concat "JOIN " channel)))) |
| 1386 | 1386 | ||
| 1387 | (defun-rcirc-command part (channel) | 1387 | (defun-rcirc-command part (channel) |
| 1388 | "Part CHANNEL." | 1388 | "Part CHANNEL." |