1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(nnfolder-possibly-change-group): Don't assume point-min == 1.

This commit is contained in:
Stefan Monnier 2002-04-12 03:11:40 +00:00
parent bcb0fd5c82
commit be1ad76795

View file

@ -624,7 +624,8 @@ deleted. Point is left where the deleted region was."
(let ((nnmail-file-coding-system
(or nnfolder-file-coding-system-for-write
nnfolder-file-coding-system-for-write)))
(nnmail-write-region 1 1 file t 'nomesg)))
(nnmail-write-region (point-min) (point-min)
file t 'nomesg)))
(when (setq nnfolder-current-buffer (nnfolder-read-folder group))
(set-buffer nnfolder-current-buffer)
(push (list group nnfolder-current-buffer)