From 91a8f91ef8a5fdd1ab4badc041d16afc1495a4d5 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 16 Aug 1996 06:00:57 +0000 Subject: [PATCH] (rfc822/analyze-comment): Use `string-match' instead of `position-mismatched'. --- tl-822.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tl-822.el b/tl-822.el index cdd5c67..6abb4ec 100644 --- a/tl-822.el +++ b/tl-822.el @@ -29,7 +29,7 @@ (defconst rfc822/RCS-ID - "$Id: tl-822.el,v 7.34 1996-08-16 05:57:27 morioka Exp $") + "$Id: tl-822.el,v 7.35 1996-08-16 06:00:57 morioka Exp $") (defconst rfc822/version (get-version-string rfc822/RCS-ID)) @@ -314,11 +314,7 @@ (setq str (substring str 1)) (catch 'tag (while (not (string-equal str "")) - (setq p (position-mismatched - (function - (lambda (elt) - (not (find elt rfc822/non-ctext-chars)) - )) str)) + (setq p (string-match (concat "[" rfc822/non-ctext-chars "]") str)) (cond ((> p 0) (setq dest (concat dest (substring str 0 p))) (setq str (substring str p)) -- 1.7.10.4