From 3476f428b39eb7541d8e813aedefd8ffa86f77cb Mon Sep 17 00:00:00 2001 From: tmorioka Date: Wed, 26 Feb 1997 06:00:39 +0000 Subject: [PATCH] (regexp-or): New function. --- mime-def.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mime-def.el b/mime-def.el index e629b97..1f791aa 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.22 1997-02-26 04:31:06 tmorioka Exp $ +;; Version: $Id: mime-def.el,v 0.23 1997-02-26 06:00:39 tmorioka Exp $ ;; Keywords: definition, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -211,6 +211,9 @@ ROT47 will be performed for Japanese text in any case." ;;; @ field ;;; +(defsubst regexp-or (&rest args) + (concat "\\(" (mapconcat (function identity) args "\\|") "\\)")) + (defun tm:set-fields (sym field-list &optional regexp-sym) (or regexp-sym (setq regexp-sym -- 1.7.10.4