diff lisp/gnus/nnimap.el @ 100874:8698a8bb7d0e

Gnus: Add explanations for recent changes to the code itself. These are already documented in ChangeLog.
author Michael Olson <mwolson@gnu.org>
date Sun, 04 Jan 2009 00:03:05 +0000
parents 1d5b4a08955f
children a9dc0e7c3f2b
line wrap: on
line diff
--- a/lisp/gnus/nnimap.el	Sat Jan 03 23:11:06 2009 +0000
+++ b/lisp/gnus/nnimap.el	Sun Jan 04 00:03:05 2009 +0000
@@ -620,6 +620,7 @@
        ;; to make it more clear.
        (mm-with-unibyte-buffer
 	 (buffer-disable-undo)
+	 ;; headers can be nil if article is write-only
 	 (when headers (insert headers))
 	 (let ((head (nnheader-parse-naked-head uid)))
 	   (mail-header-set-number head uid)
@@ -950,6 +951,7 @@
 	      (erase-buffer)
 	      (let ((data (imap-fetch article part prop nil
 				      nnimap-server-buffer)))
+		;; data can be nil if article is write-only
 		(when data
 		  (insert (nnimap-demule (if detail
 					     (nth 2 (car data))