diff lisp/gnus/pop3.el @ 110475:ab3a38ccb842

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.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 22 Sep 2010 06:01:22 +0000
parents 07940da9c47a
children 2b8ece636433
line wrap: on
line diff
--- a/lisp/gnus/pop3.el	Wed Sep 22 05:19:14 2010 +0000
+++ b/lisp/gnus/pop3.el	Wed Sep 22 06:01:22 2010 +0000
@@ -520,8 +520,7 @@
 	  (mapcar #'(lambda (s) (let ((split (split-string s " ")))
 				  (cons (string-to-number (nth 0 split))
 					(string-to-number (nth 1 split)))))
-		  (delete "" (split-string (buffer-substring start end)
-					   "\r\n"))))))))
+		  (split-string (buffer-substring start end) "\r\n" t)))))))
 
 (defun pop3-retr (process msg crashbuf)
   "Retrieve message-id MSG to buffer CRASHBUF."