2003-05-30 Daiki Ueno <ueno@unixuser.org>
+ * riece-complete.el: Require 'cl for butlast.
+
* Makefile.am (elc): Renamed from "compile".
* riece.el (riece-dialogue-mode-map): Bind
(riece-prefix-nickname prefix))
(let* ((user (riece-prefix-nickname prefix))
(parameters (riece-split-parameters string))
- (targets (split-string (pop parameters) ","))
- (message (pop parameters)))
+ (targets (split-string (car parameters) ","))
+ (message (nth 1 parameters)))
(if (string-match "\1\\([^ ]+\\)\\( .+\\)?\1" message)
(let ((request (downcase (match-string 1 message))))
(if (match-beginning 2)
(riece-prefix-nickname prefix))
(let* ((user (riece-prefix-nickname prefix))
(parameters (riece-split-parameters string))
- (targets (split-string (pop parameters) ","))
- (message (pop parameters)))
+ (targets (split-string (car parameters) ","))
+ (message (nth 1 parameters)))
(if (string-match "\1\\([^ ]+\\)\\( .+\\)?\1" message)
(let ((response (downcase (match-string 1 message))))
(if (match-beginning 2)