* riece-log.el (riece-log-enable): Add debug message.
authorueno <ueno>
Fri, 4 Feb 2005 04:30:06 +0000 (04:30 +0000)
committerueno <ueno>
Fri, 4 Feb 2005 04:30:06 +0000 (04:30 +0000)
lisp/ChangeLog
lisp/riece-log.el

index ba1b81d..d6ba125 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-log.el (riece-log-enable): Add debug message.
+
 2005-02-04  OHASHI Akira  <bg66@koka-in.org>
 
        * riece-biff.el (riece-biff-functions): Abolish.
index ee3aef8..ade7e6e 100644 (file)
@@ -275,7 +275,9 @@ If LINES is t, insert today's logs entirely."
                        (delete-directory riece-log-lock-directory)
                      (error))))
        (setq riece-log-enabled t))
-    (error)))
+    (error
+     (if riece-debug
+        (message "Can't create lock directory for riece-log")))))
 
 (defun riece-log-disable ()
   (define-key riece-command-mode-map "\C-cd" nil)