From: tmorioka Date: Wed, 26 Feb 1997 04:16:00 +0000 (+0000) Subject: `tm:mouse-face' -> `mime-button-mouse-face'. X-Git-Tag: Hokutetsu-Ishikawa-new~275 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5795b892b79fc60bec2b187b1706c005a8ea2f;p=elisp%2Fsemi.git `tm:mouse-face' -> `mime-button-mouse-face'. --- 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)