]> git.eshelyaron.com Git - emacs.git/commitdiff
(rcirc-default-user-full-name): Default to `rcirc-default-user-name' instead
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 13:33:47 +0000 (13:33 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 13:33:47 +0000 (13:33 +0000)
of `rcirc-user-name' (which no longer exists).
(rcirc-process-list): Check `buffer-live-p' before attempting to switch to a
buffer.

lisp/ChangeLog
lisp/net/rcirc.el

index 1d63d52da500115072365e63b065f396de6db02f..b03b3e850d44dc08f1fae6b01d023361345077c0 100644 (file)
@@ -1,3 +1,11 @@
+2006-06-23  Daniel Brockman  <daniel@brockman.se>
+
+       * net/rcirc.el (rcirc-default-user-full-name): Default to
+       `rcirc-default-user-name' instead of `rcirc-user-name' (which no
+       longer exists).
+       (rcirc-process-list): Check `buffer-live-p' before attempting to
+       switch to a buffer.
+
 2006-06-23  Ryan Yeske  <rcyeske@gmail.com>
 
        * net/rcirc.el (rcirc-mode): Fix initialization of coding systems
index 683d7c6f3c11b587551e82669ffd804c9753359f..1f051ffa9f26c3553d0ea8823caf6a18b728abd9 100644 (file)
@@ -74,7 +74,7 @@
   :group 'rcirc)
 
 (defcustom rcirc-default-user-full-name (if (string= (user-full-name) "")
-                                           rcirc-user-name
+                                           rcirc-default-user-name
                                          (user-full-name))
   "The full name sent to the server when connecting."
   :type 'string
@@ -469,7 +469,7 @@ Functions are called with PROCESS and SENTINEL arguments.")
   "Return a list of rcirc processes."
   (let (ps)
     (mapc (lambda (p)
-            (when (process-buffer p)
+            (when (buffer-live-p (process-buffer p))
               (with-rcirc-process-buffer p
                 (when (eq major-mode 'rcirc-mode)
                   (setq ps (cons p ps))))))