From: tmorioka Date: Wed, 26 Feb 1997 07:44:22 +0000 (+0000) Subject: (tm:add-button): Use `add-text-properties' directly. X-Git-Tag: Hokutetsu-Ishikawa-new~266 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d34333d04f49659124c7ee45ca949ed1b57386a2;p=elisp%2Fsemi.git (tm:add-button): Use `add-text-properties' directly. --- diff --git a/mime-def.el b/mime-def.el index a6f8abc..719ef61 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.24 1997-02-26 06:32:03 tmorioka Exp $ +;; Version: $Id: mime-def.el,v 0.25 1997-02-26 07:44:22 tmorioka Exp $ ;; Keywords: definition, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -73,13 +73,13 @@ "Create a button between FROM and TO with callback FUNC and data DATA." (and mime-button-face (overlay-put (make-overlay from to) 'face mime-button-face)) - (tl:add-text-properties from to - (nconc - (and mime-button-mouse-face - (list 'mouse-face mime-button-mouse-face)) - (list 'mime-button-callback func) - (and data (list 'mime-button-data data)) - )) + (add-text-properties from to + (nconc + (and mime-button-mouse-face + (list 'mouse-face mime-button-mouse-face)) + (list 'mime-button-callback func) + (and data (list 'mime-button-data data)) + )) ) (defvar mime-button-mother-dispatcher nil)