mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
* lisp/gnus/nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
This commit is contained in:
parent
3615c80cc0
commit
0f810fbf3e
2 changed files with 5 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2010-10-03 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
|
||||
|
||||
* smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
|
||||
|
||||
* gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
|
||||
|
|
|
|||
|
|
@ -1572,14 +1572,11 @@ See %s for details" proc nnmairix-mairix-output-buffer)))
|
|||
(defun nnmairix-replace-illegal-chars (header)
|
||||
"Replace illegal characters in HEADER for mairix query."
|
||||
(when header
|
||||
(if (> emacs-major-version 20)
|
||||
(while (string-match "[^-.@/,& [:alnum:]]" header)
|
||||
(setq header (replace-match "" t t header)))
|
||||
(while (string-match "[[]{}:<>]" header)
|
||||
(setq header (replace-match "" t t header))))
|
||||
(while (string-match "[^-.@/,& [:alnum:]]" header)
|
||||
(setq header (replace-match "" t t header)))
|
||||
(while (string-match "[-& ]" header)
|
||||
(setq header (replace-match "," t t header)))
|
||||
header))
|
||||
header))
|
||||
|
||||
(defun nnmairix-group-toggle-parameter (group parameter description &optional par)
|
||||
"Toggle on GROUP a certain PARAMETER.
|
||||
|
|
|
|||
Loading…
Reference in a new issue