aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-30 03:47:35 +0000
committerGlenn Morris2009-01-30 03:47:35 +0000
commit45bd6461860c1055d59ce0dd30028c8ff021e59f (patch)
tree6981200236315c2ae42fd7cbedb783ab54d8ccd5
parentdf75fdb70d8836c4d60c4bd2529bff0690a6af7c (diff)
downloademacs-45bd6461860c1055d59ce0dd30028c8ff021e59f.tar.gz
emacs-45bd6461860c1055d59ce0dd30028c8ff021e59f.zip
(rmail-summary-update-line): Replace duplicate line-beginning-position calls.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/mail/rmailsum.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c009ca435a5..d306ee58404 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12009-01-30 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmail.el (rmail-reply): Handle empty folders.
4
5 * mail/rmailsum.el (rmail-summary-update-line): Replace duplicate
6 line-beginning-position calls.
7
12009-01-30 Toby Speight <streapadair@gmx.net> (tiny change) 82009-01-30 Toby Speight <streapadair@gmx.net> (tiny change)
2 9
3 * generic-x.el (hosts-generic-mode, named-database-generic-mode): 10 * generic-x.el (hosts-generic-mode, named-database-generic-mode):
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index d7b1aa2c28e..8da18a055c8 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -754,7 +754,7 @@ a negative argument means to delete and move forward."
754 (while (and (setq ov (car overlays)) 754 (while (and (setq ov (car overlays))
755 (not (setq high (overlay-get ov 'rmail-summary)))) 755 (not (setq high (overlay-get ov 'rmail-summary))))
756 (setq overlays (cdr overlays))) 756 (setq overlays (cdr overlays)))
757 (delete-region (line-beginning-position) (line-beginning-position 2)) 757 (delete-region start end)
758 (princ 758 (princ
759 (with-current-buffer rmail-buffer 759 (with-current-buffer rmail-buffer
760 (aset rmail-summary-vector (1- n) (rmail-create-summary-line n))) 760 (aset rmail-summary-vector (1- n) (rmail-create-summary-line n)))