(tm:add-button): Use `add-text-properties' directly.
authortmorioka <tmorioka>
Wed, 26 Feb 1997 07:44:22 +0000 (07:44 +0000)
committertmorioka <tmorioka>
Wed, 26 Feb 1997 07:44:22 +0000 (07:44 +0000)
mime-def.el

index a6f8abc..719ef61 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.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).
   "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)