Source

erc / erc-replace.el

Diff from to

erc-replace.el

 ;; erc-replace.el -- wash and massage messages inserted into the buffer
 
+;; Copyright (C) 2001,2002,2004 Free Software Foundation, Inc.
+
 ;; Author: Andreas Fuchs <asf@void.at>
 ;; Maintainer: Mario Lang (mlang@delysid.org)
 ;; Keywords: IRC, client, Internet
 ;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ErcReplace
 
-;; Copyright (C) 2001  Andreas Fuchs <asf@void.at>
-;; Copyright (C) 2002  Alex Schroeder <alex@gnu.org>
-
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
 ;; the Free Software Foundation; either version 2 of the License, or
 (defconst erc-replace-version "$Revision$"
   "Revision of the ERC replace module.")
 
+(defgroup erc-replace nil
+  "Replace text from incoming messages"
+  :group 'erc)
+
 (defcustom erc-replace-alist nil
   "Alist describing text to be replaced in incoming messages.
 This is useful for filters.
 function to call, or any sexp.  If a function, it will be called with
 one argument, the string to be replaced, and it should return a
 replacement string."
-  :group 'erc
+  :group 'erc-replace
   :type '(repeat (cons :tag "Search & Replace"
 		       (choice :tag "From"
 			       regexp