aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeniz Dogan2011-03-09 11:45:19 +0100
committerDeniz Dogan2011-03-09 11:45:19 +0100
commitc47971d7a31d28dc49a39cccc2523d1e3ed08b10 (patch)
tree92168eb7f45eda41e7da18b95148b16c14ad8e70
parent0be6f4f1873153cdbdb84c36f460975a6c95829a (diff)
downloademacs-c47971d7a31d28dc49a39cccc2523d1e3ed08b10.tar.gz
emacs-c47971d7a31d28dc49a39cccc2523d1e3ed08b10.zip
* lisp/net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer. (rcirc-check-auth-status): Swap arguments to string-match.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/net/rcirc.el5
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8b3b5b6801b..251547b617d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2
3 * net/rcirc.el (rcirc-handler-001): Remove useless
4 with-rcirc-process-buffer.
5 (rcirc-check-auth-status): Swap arguments to string-match.
6
12011-03-09 Glenn Morris <rgm@gnu.org> 72011-03-09 Glenn Morris <rgm@gnu.org>
2 8
3 * shell.el (shell-mode): 9 * shell.el (shell-mode):
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 41e09540631..71aa0dd22bc 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2449,8 +2449,7 @@ keywords when no KEYWORD is given."
2449 (if rcirc-auto-authenticate-flag 2449 (if rcirc-auto-authenticate-flag
2450 (if rcirc-authenticate-before-join 2450 (if rcirc-authenticate-before-join
2451 (progn 2451 (progn
2452 (with-rcirc-process-buffer process 2452 (add-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t t)
2453 (add-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t t))
2454 (rcirc-authenticate)) 2453 (rcirc-authenticate))
2455 (rcirc-authenticate) 2454 (rcirc-authenticate)
2456 (rcirc-join-channels process rcirc-startup-channels)) 2455 (rcirc-join-channels process rcirc-startup-channels))
@@ -2515,7 +2514,7 @@ the only argument."
2515 (and ;; quakenet 2514 (and ;; quakenet
2516 (string= sender "Q") 2515 (string= sender "Q")
2517 (string= target rcirc-nick) 2516 (string= target rcirc-nick)
2518 (string-match message "\\`You are now logged in as .+\\.\\'"))) 2517 (string-match "\\`You are now logged in as .+\\.\\'" message)))
2519 (setq rcirc-user-authenticated t) 2518 (setq rcirc-user-authenticated t)
2520 (run-hook-with-args 'rcirc-authenticated-hook process) 2519 (run-hook-with-args 'rcirc-authenticated-hook process)
2521 (remove-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t)))))) 2520 (remove-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t))))))