;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-def.el,v 0.13 1997-02-25 07:29:59 tmorioka Exp $
+;; Version: $Id: mime-def.el,v 0.14 1997-02-26 02:42:16 tmorioka Exp $
;; Keywords: definition, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(defun tm:add-button (from to func &optional data)
"Create a button between FROM and TO with callback FUNC and data DATA."
(and tm:button-face
- (tl:overlay-put (tl:make-overlay from to) 'face tm:button-face))
+ (overlay-put (tl:make-overlay from to) 'face tm:button-face))
(tl:add-text-properties from to
(append (and tm:mouse-face
(list 'mouse-face tm:mouse-face))