* riece-log.el (riece-log-get-directory): Support riece-identity
authorbg66 <bg66>
Wed, 29 Oct 2003 02:59:46 +0000 (02:59 +0000)
committerbg66 <bg66>
Wed, 29 Oct 2003 02:59:46 +0000 (02:59 +0000)
for mapping.

lisp/ChangeLog
lisp/riece-log.el

index 148837e..ccaa278 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-29  OHASHI Akira  <bg66@koka-in.org>
+
+       * riece-log.el (riece-log-get-directory): Support riece-identity
+        for mapping.
+
 2003-10-28  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-layout.el (riece-set-window-points): Move point in
index 84ff244..8acc9da 100644 (file)
@@ -77,9 +77,9 @@ If integer, flash back only this line numbers. t means all lines."
    (riece-log-get-directory identity)))
 
 (defun riece-log-get-directory (identity)
-  (let* ((channel (riece-identity-prefix identity))
-        (server (riece-identity-server identity))
-        (map (assoc channel riece-log-directory-map))
+  (let ((channel (riece-identity-prefix identity))
+       (server (riece-identity-server identity))
+       (map (assoc (riece-format-identity identity) riece-log-directory-map))
         name)
     (cond (map (setq name (cdr map)))
          ((string-match riece-channel-regexp channel)