Make rcirc logging more customizable
commitaacde24f5cdebc6d7ccb2f50a9d8e413906c4497
authorMiles Bader <miles@gnu.org>
Wed, 2 Jan 2008 02:20:56 +0000 (2 02:20 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 2 Jan 2008 02:20:56 +0000 (2 02:20 +0000)
tree164428e2f737beaecf39a165b451affdc22aec46
parentb201b9880e01120b7e64f82c98464c5bea630b0d
Make rcirc logging more customizable

(rcirc-log-filename-function): New variable.
(rcirc-log): Use `rcirc-log-filename-function' to generate the
log-file name.  Don't log anything if it returns nil.
(rcirc-log-write): Use `expand-file-name' when merging the
log-file name from the alist with rcirc-log-directory; this does
the right thing if the name in the alist already an absolute
filename.  Make the log-file directory if necessary.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-976
lisp/ChangeLog
lisp/net/rcirc.el