diff options
| -rw-r--r-- | lisp/mail/rmailkwd.el | 4 |
1 files 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." | |||
| 108 | ;; Is this keyword already present in msg's keyword list? | 108 | ;; Is this keyword already present in msg's keyword list? |
| 109 | (let* ((header (rmail-get-keywords msg)) | 109 | (let* ((header (rmail-get-keywords msg)) |
| 110 | (regexp (concat ", " (regexp-quote label) ",")) | 110 | (regexp (concat ", " (regexp-quote label) ",")) |
| 111 | (present (not (null (string-match-p | 111 | (present (not (null |
| 112 | regexp (concat ", " header ",")))))) | 112 | (string-match regexp (concat ", " header ",")))))) |
| 113 | ;; If current state is not correct, | 113 | ;; If current state is not correct, |
| 114 | (unless (eq present state) | 114 | (unless (eq present state) |
| 115 | ;; either add it or delete it. | 115 | ;; either add it or delete it. |