-;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
+;; Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc.
;; Keywords: definition, MIME, multimedia, mail, news
;; Keywords: definition, MIME, multimedia, mail, news
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
-(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."
(defsubst mime-add-button (from to function &optional data)
"Create a button between FROM and TO with callback FUNCTION and DATA."
;; (widget-push-button-value-create
;; (widget-convert 'push-button
;; :notify (lambda (&rest ignore)
;; (widget-push-button-value-create
;; (widget-convert 'push-button
;; :notify (lambda (&rest ignore)