From: morioka Date: Tue, 4 Nov 1997 14:10:23 +0000 (+0000) Subject: (mime): New customize group. X-Git-Tag: semi-0_115_2~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=515d456f0917eb75e674ec90ed5c9307a3ec20c2;p=elisp%2Fsemi.git (mime): New customize group. (mime-button-face): Use `defcustom'. (mime-button-mouse-face): Use `defcustom'. --- 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."