From: ueno Date: Fri, 4 Feb 2005 03:40:22 +0000 (+0000) Subject: Fixed. X-Git-Tag: riece-1_0_7~44 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e6fb15ac265bb41413ba54d22235941d31901b3c;p=elisp%2Friece.git Fixed. --- diff --git a/lisp/riece-log.el b/lisp/riece-log.el index 7d889fb..f16b284 100644 --- a/lisp/riece-log.el +++ b/lisp/riece-log.el @@ -46,7 +46,7 @@ :group 'riece-log) (defcustom riece-log-lock-directory - (expand-file-name ".lock" riece-log-directory) + (expand-file-name "=lock" riece-log-directory) "*Lock directory for riece-log. It is created if there is at least one instance of Emacs running riece-log." :type 'directory @@ -274,9 +274,10 @@ If LINES is t, insert today's logs entirely." (defun riece-log-disable () (define-key riece-command-mode-map "\C-cd" nil) - (condition-case nil - (delete-directory riece-log-lock-directory) - (error)) + (if riece-log-enabled + (condition-case nil + (delete-directory riece-log-lock-directory) + (error))) (setq riece-log-enabled nil)) (provide 'riece-log)