From 4b84883a4aaf56fe3d3ed034157b72fcfedd6fe0 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 12 Feb 2009 07:53:11 +0000 Subject: [PATCH] Simplify previous change; again. --- lisp/mail/rmailkwd.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el index a5dd81dda8c..687837ac56f 100644 --- a/lisp/mail/rmailkwd.el +++ b/lisp/mail/rmailkwd.el @@ -108,8 +108,8 @@ LABEL may be a symbol or string." ;; Is this keyword already present in msg's keyword list? (let* ((header (rmail-get-keywords msg)) (regexp (concat ", " (regexp-quote label) ",")) - (present (not (null (string-match-p - regexp (concat ", " header ",")))))) + (present (not (null + (string-match regexp (concat ", " header ",")))))) ;; If current state is not correct, (unless (eq present state) ;; either add it or delete it. -- 2.39.5