changeset 101662:e18d6fe1381d

(rmail-summary-update-line): Replace duplicate line-beginning-position calls.
author Glenn Morris <rgm@gnu.org>
date Fri, 30 Jan 2009 03:47:35 +0000
parents 26b8d12cf7a4
children 16a64da69839
files lisp/ChangeLog lisp/mail/rmailsum.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 30 03:46:31 2009 +0000
+++ b/lisp/ChangeLog	Fri Jan 30 03:47:35 2009 +0000
@@ -1,3 +1,10 @@
+2009-01-30  Glenn Morris  <rgm@gnu.org>
+
+	* mail/rmail.el (rmail-reply): Handle empty folders.
+
+	* mail/rmailsum.el (rmail-summary-update-line): Replace duplicate
+	line-beginning-position calls.
+
 2009-01-30  Toby Speight  <streapadair@gmx.net>  (tiny change)
 
 	* generic-x.el (hosts-generic-mode, named-database-generic-mode):
--- a/lisp/mail/rmailsum.el	Fri Jan 30 03:46:31 2009 +0000
+++ b/lisp/mail/rmailsum.el	Fri Jan 30 03:47:35 2009 +0000
@@ -754,7 +754,7 @@
       (while (and (setq ov (car overlays))
 		  (not (setq high (overlay-get ov 'rmail-summary))))
 	(setq overlays (cdr overlays)))
-      (delete-region (line-beginning-position) (line-beginning-position 2))
+      (delete-region start end)
       (princ
        (with-current-buffer rmail-buffer
 	 (aset rmail-summary-vector (1- n) (rmail-create-summary-line n)))