From: Glenn Morris Date: Thu, 12 Feb 2009 07:53:11 +0000 (+0000) Subject: Simplify previous change; again. X-Git-Tag: emacs-pretest-23.0.91~266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b84883a4aaf56fe3d3ed034157b72fcfedd6fe0;p=emacs.git Simplify previous change; again. --- 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.