* riece-log.el (riece-log-get-directory): Fixed bug in
authorueno <ueno>
Wed, 8 Dec 2004 09:26:49 +0000 (09:26 +0000)
committerueno <ueno>
Wed, 8 Dec 2004 09:26:49 +0000 (09:26 +0000)
riece-log-directory-map handling.

lisp/ChangeLog
lisp/riece-log.el

index 7aa055e..c46faae 100644 (file)
@@ -1,5 +1,8 @@
 2004-12-08  Daiki Ueno  <ueno@unixuser.org>
 
+       * riece-log.el (riece-log-get-directory): Fixed bug in
+       riece-log-directory-map handling.
+
        * test/test-riece-log.el
        (test-riece-log-display-message-function): New test case.
 
index 3289a07..6d882fb 100644 (file)
@@ -125,10 +125,9 @@ If integer, flash back only this line numbers. t means all lines."
   (let ((prefix (riece-identity-canonicalize-prefix
                 (riece-identity-prefix identity)))
        (server (riece-identity-server identity))
-       (map (assoc (riece-format-identity identity) riece-log-directory-map))
-       name)
+       (map (assoc (riece-format-identity identity) riece-log-directory-map)))
     (if map
-       (setq name (cdr map))
+       (expand-file-name (cdr map) riece-log-directory)
       (expand-file-name (riece-log-encode-file-name prefix)
                        (expand-file-name
                         (concat "." (riece-log-encode-file-name server))