;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-def.el,v 0.17 1997-02-26 04:14:11 tmorioka Exp $
+;; Version: $Id: mime-def.el,v 0.18 1997-02-26 04:16:00 tmorioka Exp $
;; Keywords: definition, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
"Face used for content-button or URL-button of MIME-Preview buffer.
\[mime-def.el]")
-(defvar tm:mouse-face 'highlight
+(defvar mime-button-mouse-face 'highlight
"Face used for MIME-preview buffer mouse highlighting. [mime-def.el]")
(defun tm:add-button (from to func &optional data)
(and mime-button-face
(overlay-put (make-overlay from to) 'face mime-button-face))
(tl:add-text-properties from to
- (append (and tm:mouse-face
- (list 'mouse-face tm:mouse-face))
- (list 'semi-callback func)
- (and data (list 'semi-data data))
- ))
+ (nconc
+ (and mime-button-mouse-face
+ (list 'mouse-face mime-button-mouse-face))
+ (list 'semi-callback func)
+ (and data (list 'semi-data data))
+ ))
)
(defvar tm:mother-button-dispatcher nil)