From 2f5795b892b79fc60bec2b187b1706c005a8ea2f Mon Sep 17 00:00:00 2001 From: tmorioka Date: Wed, 26 Feb 1997 04:16:00 +0000 Subject: [PATCH] `tm:mouse-face' -> `mime-button-mouse-face'. --- mime-def.el | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mime-def.el b/mime-def.el index 33c44f1..3db3c76 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.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) @@ -68,11 +68,12 @@ (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) -- 1.7.10.4