From: morioka Date: Fri, 16 Aug 1996 06:00:57 +0000 (+0000) Subject: (rfc822/analyze-comment): Use `string-match' instead of X-Git-Tag: XEmacs-20_3-b27-viet~90 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a8f91ef8a5fdd1ab4badc041d16afc1495a4d5;p=elisp%2Fmu-cite.git (rfc822/analyze-comment): Use `string-match' instead of `position-mismatched'. --- 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))