;; 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)