2003-06-23 Daiki Ueno <ueno@unixuser.org>
+ * riece-misc.el (riece-channel-p): Moved from riece-channel.el.
+
* riece-300.el: Rewrite using riece-decode-identity.
* riece-identity.el (riece-completing-read-identity): Signal an
(require 'riece-globals)
(require 'riece-identity)
-;;; String representation of a channel:
-(defun riece-channel-p (string)
- "Return t if STRING is a channel.
-\(i.e. it matches `riece-channel-regexp')"
- (string-match (concat "^" riece-channel-regexp) string))
-
;;; Channel object:
(defun riece-find-channel (name)
"Get a channel object named NAME from the server buffer."
(with-current-buffer buffer
(eq riece-freeze 'own)))
+(defun riece-channel-p (string)
+ "Return t if STRING is a channel.
+\(i.e. it matches `riece-channel-regexp')"
+ (string-match (concat "^" riece-channel-regexp) string))
+
(defun riece-current-nickname ()
"Return the current nickname."
(riece-with-identity-buffer riece-current-channel