diff options
| author | Glenn Morris | 2009-02-12 07:53:11 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-02-12 07:53:11 +0000 |
| commit | 4b84883a4aaf56fe3d3ed034157b72fcfedd6fe0 (patch) | |
| tree | 03d2c7955a321e0f33c03ca9edd8edbcbb867afe | |
| parent | 655a218acee346dfa403d755f8c9518f0b7957db (diff) | |
| download | emacs-4b84883a4aaf56fe3d3ed034157b72fcfedd6fe0.tar.gz emacs-4b84883a4aaf56fe3d3ed034157b72fcfedd6fe0.zip | |
Simplify previous change; again.
| -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. |