Create rcirc logging directory during init.
Not much else to say about it.
This commit is contained in:
parent
41efc0e263
commit
e1c2c50932
|
@ -86,6 +86,8 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(setq rcirc-log-flag t)
|
||||
(defun rcirc-write-log (process sender response target text)
|
||||
(when rcirc-log-directory
|
||||
(when (not (file-directory-p rcirc-log-directory))
|
||||
(make-directory rcirc-log-directory))
|
||||
(with-temp-buffer
|
||||
;; Sometimes TARGET is a buffer :-(
|
||||
(when (bufferp target)
|
||||
|
|
Loading…
Reference in a new issue