From 515d456f0917eb75e674ec90ed5c9307a3ec20c2 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 4 Nov 1997 14:10:23 +0000 Subject: [PATCH] (mime): New customize group. (mime-button-face): Use `defcustom'. (mime-button-mouse-face): Use `defcustom'. --- mime-def.el | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/mime-def.el b/mime-def.el index b5ff01c..4d88747 100644 --- a/mime-def.el +++ b/mime-def.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: mime-def.el,v 0.70 1997-10-04 05:56:02 morioka Exp $ +;; Version: $Id: mime-def.el,v 0.71 1997-11-04 14:10:23 morioka Exp $ ;; Keywords: definition, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -26,6 +26,12 @@ ;;; Code: (require 'emu) +(require 'custom) + +(defgroup mime nil + "Emacs MIME Interfaces" + :group 'news + :group 'mail) (unless (fboundp 'butlast) (defun butlast (x &optional n) @@ -85,11 +91,15 @@ ;;; @ button ;;; -(defvar mime-button-face 'bold - "Face used for content-button or URL-button of MIME-Preview buffer.") +(defcustom mime-button-face 'bold + "Face used for content-button or URL-button of MIME-Preview buffer." + :group 'mime + :type 'face) -(defvar mime-button-mouse-face 'highlight - "Face used for MIME-preview buffer mouse highlighting.") +(defcustom mime-button-mouse-face 'highlight + "Face used for MIME-preview buffer mouse highlighting." + :group 'mime + :type 'face) (defsubst mime-add-button (from to function &optional data) "Create a button between FROM and TO with callback FUNCTION and DATA." -- 1.7.10.4