From: tmorioka Date: Wed, 26 Feb 1997 06:00:39 +0000 (+0000) Subject: (regexp-or): New function. X-Git-Tag: Hokutetsu-Ishikawa-new~268 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3476f428b39eb7541d8e813aedefd8ffa86f77cb;p=elisp%2Fsemi.git (regexp-or): New function. --- 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