diff options
| author | Katsumi Yamaoka | 2010-09-22 06:01:22 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-22 06:01:22 +0000 |
| commit | 4def29e7d611ccb7bf32df728e71c6cc4f2f92a1 (patch) | |
| tree | 2266e48afbb41e0f7157a549f9a19b6b07b106ba | |
| parent | 1bf68d5367c15a146157ad36f5b81f3801a32b3d (diff) | |
| download | emacs-4def29e7d611ccb7bf32df728e71c6cc4f2f92a1.tar.gz emacs-4def29e7d611ccb7bf32df728e71c6cc4f2f92a1.zip | |
Remove Emacs 21 stuff.
mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
mm-util.el (mm-decompress-buffer)
nnir.el (nnir-run-find-grep)
pop3.el (pop3-list): Use 3rd arg of split-string.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/mailcap.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 15 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/pop3.el | 3 |
5 files changed, 20 insertions, 19 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index eeba68f81a2..c0651267d25 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes) | ||
| 4 | * mm-util.el (mm-decompress-buffer) | ||
| 5 | * nnir.el (nnir-run-find-grep) | ||
| 6 | * pop3.el (pop3-list): Use 3rd arg of split-string. | ||
| 7 | |||
| 1 | 2010-09-21 Adam Sjøgren <asjo@koldfront.dk> | 8 | 2010-09-21 Adam Sjøgren <asjo@koldfront.dk> |
| 2 | 9 | ||
| 3 | * gnus-sum.el (gnus-adjust-marked-articles): Fix typo. | 10 | * gnus-sum.el (gnus-adjust-marked-articles): Fix typo. |
diff --git a/lisp/gnus/mailcap.el b/lisp/gnus/mailcap.el index 71ffd1225b5..524928586fc 100644 --- a/lisp/gnus/mailcap.el +++ b/lisp/gnus/mailcap.el | |||
| @@ -423,7 +423,7 @@ MAILCAPS if set; otherwise (on Unix) use the path from RFC 1524, plus | |||
| 423 | "/usr/local/etc/mailcap")))) | 423 | "/usr/local/etc/mailcap")))) |
| 424 | (let ((fnames (reverse | 424 | (let ((fnames (reverse |
| 425 | (if (stringp path) | 425 | (if (stringp path) |
| 426 | (delete "" (split-string path path-separator)) | 426 | (split-string path path-separator t) |
| 427 | path))) | 427 | path))) |
| 428 | fname) | 428 | fname) |
| 429 | (while fnames | 429 | (while fnames |
| @@ -941,7 +941,7 @@ If FORCE, re-parse even if already parsed." | |||
| 941 | "/usr/local/etc/mime-types" | 941 | "/usr/local/etc/mime-types" |
| 942 | "/usr/local/www/conf/mime-types")))) | 942 | "/usr/local/www/conf/mime-types")))) |
| 943 | (let ((fnames (reverse (if (stringp path) | 943 | (let ((fnames (reverse (if (stringp path) |
| 944 | (delete "" (split-string path path-separator)) | 944 | (split-string path path-separator t) |
| 945 | path))) | 945 | path))) |
| 946 | fname) | 946 | fname) |
| 947 | (while fnames | 947 | (while fnames |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 588915a1ab7..7f0d3388e04 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -1539,14 +1539,13 @@ decompressed data. The buffer's multibyteness must be turned off." | |||
| 1539 | prog t (list t err-file) nil args) | 1539 | prog t (list t err-file) nil args) |
| 1540 | jka-compr-acceptable-retval-list) | 1540 | jka-compr-acceptable-retval-list) |
| 1541 | (erase-buffer) | 1541 | (erase-buffer) |
| 1542 | (insert (mapconcat | 1542 | (insert (mapconcat 'identity |
| 1543 | 'identity | 1543 | (split-string |
| 1544 | (delete "" (split-string | 1544 | (prog2 |
| 1545 | (prog2 | 1545 | (insert-file-contents err-file) |
| 1546 | (insert-file-contents err-file) | 1546 | (buffer-string) |
| 1547 | (buffer-string) | 1547 | (erase-buffer)) t) |
| 1548 | (erase-buffer)))) | 1548 | " ") |
| 1549 | " ") | ||
| 1550 | "\n") | 1549 | "\n") |
| 1551 | (setq err-msg | 1550 | (setq err-msg |
| 1552 | (format "Error while executing \"%s %s < %s\"" | 1551 | (format "Error while executing \"%s %s < %s\"" |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index a826b5be791..954b4895da7 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -1536,17 +1536,13 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." | |||
| 1536 | "find" group "-type" "f" "-name" "[0-9]*" "-exec" | 1536 | "find" group "-type" "f" "-name" "[0-9]*" "-exec" |
| 1537 | "grep" | 1537 | "grep" |
| 1538 | `("-l" ,@(and grep-options | 1538 | `("-l" ,@(and grep-options |
| 1539 | ;; Note: the 3rd arg of `split-string' is not | 1539 | (split-string grep-options "\\s-" t)) |
| 1540 | ;; available in Emacs 21. | ||
| 1541 | (delete "" (split-string grep-options "\\s-"))) | ||
| 1542 | "-e" ,regexp "{}" "+")))) | 1540 | "-e" ,regexp "{}" "+")))) |
| 1543 | 1541 | ||
| 1544 | ;; Translate relative paths to group names. | 1542 | ;; Translate relative paths to group names. |
| 1545 | (while (not (eobp)) | 1543 | (while (not (eobp)) |
| 1546 | (let* ((path (delete | 1544 | (let* ((path (split-string |
| 1547 | "" | 1545 | (buffer-substring (point) (line-end-position)) "/" t)) |
| 1548 | (split-string | ||
| 1549 | (buffer-substring (point) (line-end-position)) "/"))) | ||
| 1550 | (art (string-to-number (car (last path))))) | 1546 | (art (string-to-number (car (last path))))) |
| 1551 | (while (string= "." (car path)) | 1547 | (while (string= "." (car path)) |
| 1552 | (setq path (cdr path))) | 1548 | (setq path (cdr path))) |
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el index 950cae25c4e..d2953dcffc9 100644 --- a/lisp/gnus/pop3.el +++ b/lisp/gnus/pop3.el | |||
| @@ -520,8 +520,7 @@ Otherwise, return the size of the message-id MSG" | |||
| 520 | (mapcar #'(lambda (s) (let ((split (split-string s " "))) | 520 | (mapcar #'(lambda (s) (let ((split (split-string s " "))) |
| 521 | (cons (string-to-number (nth 0 split)) | 521 | (cons (string-to-number (nth 0 split)) |
| 522 | (string-to-number (nth 1 split))))) | 522 | (string-to-number (nth 1 split))))) |
| 523 | (delete "" (split-string (buffer-substring start end) | 523 | (split-string (buffer-substring start end) "\r\n" t))))))) |
| 524 | "\r\n")))))))) | ||
| 525 | 524 | ||
| 526 | (defun pop3-retr (process msg crashbuf) | 525 | (defun pop3-retr (process msg crashbuf) |
| 527 | "Retrieve message-id MSG to buffer CRASHBUF." | 526 | "Retrieve message-id MSG to buffer CRASHBUF." |