diff options
| author | Glenn Morris | 2010-10-02 19:12:55 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-02 19:12:55 -0700 |
| commit | 0f810fbf3e409ad01353c8a62e727da4f5e42455 (patch) | |
| tree | fdc91a2afe1e42bc2a61ceee9862fc3b8f6957da | |
| parent | 3615c80cc0300ea032eb7379dd0055f13686957f (diff) | |
| download | emacs-0f810fbf3e409ad01353c8a62e727da4f5e42455.tar.gz emacs-0f810fbf3e409ad01353c8a62e727da4f5e42455.zip | |
* lisp/gnus/nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
| -rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnmairix.el | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 24f71d5a674..446d3877d31 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-10-03 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code. | ||
| 4 | |||
| 3 | * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code. | 5 | * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code. |
| 4 | 6 | ||
| 5 | * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft. | 7 | * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft. |
diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el index 9672c04b494..0b7f0a40bd3 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el | |||
| @@ -1572,14 +1572,11 @@ See %s for details" proc nnmairix-mairix-output-buffer))) | |||
| 1572 | (defun nnmairix-replace-illegal-chars (header) | 1572 | (defun nnmairix-replace-illegal-chars (header) |
| 1573 | "Replace illegal characters in HEADER for mairix query." | 1573 | "Replace illegal characters in HEADER for mairix query." |
| 1574 | (when header | 1574 | (when header |
| 1575 | (if (> emacs-major-version 20) | 1575 | (while (string-match "[^-.@/,& [:alnum:]]" header) |
| 1576 | (while (string-match "[^-.@/,& [:alnum:]]" header) | 1576 | (setq header (replace-match "" t t header))) |
| 1577 | (setq header (replace-match "" t t header))) | ||
| 1578 | (while (string-match "[[]{}:<>]" header) | ||
| 1579 | (setq header (replace-match "" t t header)))) | ||
| 1580 | (while (string-match "[-& ]" header) | 1577 | (while (string-match "[-& ]" header) |
| 1581 | (setq header (replace-match "," t t header))) | 1578 | (setq header (replace-match "," t t header))) |
| 1582 | header)) | 1579 | header)) |
| 1583 | 1580 | ||
| 1584 | (defun nnmairix-group-toggle-parameter (group parameter description &optional par) | 1581 | (defun nnmairix-group-toggle-parameter (group parameter description &optional par) |
| 1585 | "Toggle on GROUP a certain PARAMETER. | 1582 | "Toggle on GROUP a certain PARAMETER. |