;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Commentary:
(defcustom riece-notify-keyword-functions nil
"Functions used to notify keyword match."
- :type '(list function)
+ :type '(repeat function)
:group 'riece-keyword)
(make-obsolete-variable 'riece-notify-keyword-functions
"Functions used to notify keyword match.
Two arguments are passed to each function: the keyword used to match
and the matched message object."
- :type '(list function)
+ :type '(repeat function)
:group 'riece-keyword)
(defface riece-keyword-face
(setq keywords (cons matcher keywords)))
matcher))
riece-keywords))
- (list (cons (regexp-opt keywords) 0))))
+ (if keywords
+ (list (cons (regexp-opt keywords) 0)))))
index)
(while alist
(setq index 0)
(defun riece-keyword-uninstall ()
(remove-hook 'riece-message-filter-functions 'riece-keyword-message-filter))
-(defun riece-keyword-enable ()
- )
-
-(defun riece-keyword-disable ()
- )
-
(provide 'riece-keyword)
;;; riece-keyword.el ends here
\ No newline at end of file