X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/929aeac608c271b2448dffec29aeea85c69d6bff..34dc21db6e57ebbad81a196002fcd3cc557f096e:/lisp/erc/erc-log.el diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index 465babc74f..1177cd8ce1 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el @@ -1,9 +1,9 @@ ;;; erc-log.el --- Logging facilities for ERC. -;; Copyright (C) 2003-2013 Free Software Foundation, Inc. +;; Copyright (C) 2003-2014 Free Software Foundation, Inc. ;; Author: Lawrence Mitchell -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Keywords: IRC, chat, client, Internet, logging ;; Created 2003-04-26 @@ -202,6 +202,7 @@ If you set this to nil, you may want to enable both This should ideally, be a \"catch-all\" coding system, like `emacs-mule', or `iso-2022-7bit'." + :type 'coding-system :group 'erc-log) (defcustom erc-log-filter-function nil @@ -378,6 +379,8 @@ This function is a possible value for `erc-generate-log-file-name-function'." ;; we need a make-safe-file-name function. (convert-standard-filename file))) +(declare-function erc-network-name "erc-networks" ()) + (defun erc-generate-log-file-name-network (buffer target nick server port) "Generates a log-file name using the network name rather than server name. This results in a file name of the form #channel!nick@network.txt.