;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Version:
-;; $Id: mime-text.el,v 0.4 1997-02-21 05:28:36 tmorioka Exp $
+;; $Id: mime-text.el,v 0.5 1997-02-25 07:30:15 tmorioka Exp $
;; Keywords: text, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
)))
+;;; @ for URL
+;;;
+
+(defvar tm:URL-regexp
+ "\\(http\\|ftp\\|file\\|gopher\\|news\\|telnet\\|wais\\|mailto\\):\\(//[-a-zA-Z0-9_.]+:[0-9]*\\)?[-a-zA-Z0-9_=?#$@~`%&*+|\\/.,]*[-a-zA-Z0-9_=#$@~`%&*+|\\/]")
+
+(defvar browse-url-browser-function nil)
+
+(defun tm:browse-url (&optional url)
+ (if (fboundp browse-url-browser-function)
+ (if url
+ (funcall browse-url-browser-function url)
+ (call-interactively browse-url-browser-function))
+ (if (fboundp tm:mother-button-dispatcher)
+ (call-interactively tm:mother-button-dispatcher)
+ )
+ ))
+
+
;;; @ content filters for mime-text
;;;