]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-summary-update-line): Replace duplicate line-beginning-position calls.
authorGlenn Morris <rgm@gnu.org>
Fri, 30 Jan 2009 03:47:35 +0000 (03:47 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 30 Jan 2009 03:47:35 +0000 (03:47 +0000)
lisp/ChangeLog
lisp/mail/rmailsum.el

index c009ca435a51d920f2fe84e3a8f2a4e8366065ca..d306ee584046884e469884dc9e97a20a1fbef2bf 100644 (file)
@@ -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):
index d7b1aa2c28efc1f3b3c024a5e37398d8d0eecb82..8da18a055c8eb75a602fb392f35253f5fef1b72e 100644 (file)
@@ -754,7 +754,7 @@ a negative argument means to delete and move forward."
       (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)))