`tm:mouse-face' -> `mime-button-mouse-face'.
authortmorioka <tmorioka>
Wed, 26 Feb 1997 04:16:00 +0000 (04:16 +0000)
committertmorioka <tmorioka>
Wed, 26 Feb 1997 04:16:00 +0000 (04:16 +0000)
mime-def.el

index 33c44f1..3db3c76 100644 (file)
@@ -3,7 +3,7 @@
 ;; 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).
@@ -60,7 +60,7 @@
   "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)