diff options
| author | Glenn Morris | 2009-01-30 07:20:58 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-30 07:20:58 +0000 |
| commit | 98a9d488a3422a240da6b7919e2d61ced68070ee (patch) | |
| tree | 111c41790225941595efb121f32711643cbf7333 | |
| parent | f4150f610dd2924a67f7d6669612186851f9c489 (diff) | |
| download | emacs-98a9d488a3422a240da6b7919e2d61ced68070ee.tar.gz emacs-98a9d488a3422a240da6b7919e2d61ced68070ee.zip | |
(rmail-header-summary): Use line-end-position.
| -rw-r--r-- | lisp/mail/rmailsum.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 8da18a055c8..94cfa7b3df6 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -492,7 +492,7 @@ the message being processed." | |||
| 492 | (if (not (re-search-forward "^Date:" nil t)) | 492 | (if (not (re-search-forward "^Date:" nil t)) |
| 493 | " " | 493 | " " |
| 494 | (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" | 494 | (cond ((re-search-forward "\\([^0-9:]\\)\\([0-3]?[0-9]\\)\\([- \t_]+\\)\\([adfjmnos][aceopu][bcglnprtvy]\\)" |
| 495 | (save-excursion (end-of-line) (point)) t) | 495 | (line-end-position) t) |
| 496 | (format "%2d-%3s" | 496 | (format "%2d-%3s" |
| 497 | (string-to-number (buffer-substring | 497 | (string-to-number (buffer-substring |
| 498 | (match-beginning 2) | 498 | (match-beginning 2) |
| @@ -500,7 +500,7 @@ the message being processed." | |||
| 500 | (buffer-substring | 500 | (buffer-substring |
| 501 | (match-beginning 4) (match-end 4)))) | 501 | (match-beginning 4) (match-end 4)))) |
| 502 | ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" | 502 | ((re-search-forward "\\([^a-z]\\)\\([adfjmnos][acepou][bcglnprtvy]\\)\\([-a-z \t_]*\\)\\([0-9][0-9]?\\)" |
| 503 | (save-excursion (end-of-line) (point)) t) | 503 | (line-end-position) t) |
| 504 | (format "%2d-%3s" | 504 | (format "%2d-%3s" |
| 505 | (string-to-number (buffer-substring | 505 | (string-to-number (buffer-substring |
| 506 | (match-beginning 4) | 506 | (match-beginning 4) |
| @@ -508,7 +508,7 @@ the message being processed." | |||
| 508 | (buffer-substring | 508 | (buffer-substring |
| 509 | (match-beginning 2) (match-end 2)))) | 509 | (match-beginning 2) (match-end 2)))) |
| 510 | ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)" | 510 | ((re-search-forward "\\(19\\|20\\)\\([0-9][0-9]\\)-\\([01][0-9]\\)-\\([0-3][0-9]\\)" |
| 511 | (save-excursion (end-of-line) (point)) t) | 511 | (line-end-position) t) |
| 512 | (format "%2s%2s%2s" | 512 | (format "%2s%2s%2s" |
| 513 | (buffer-substring | 513 | (buffer-substring |
| 514 | (match-beginning 2) (match-end 2)) | 514 | (match-beginning 2) (match-end 2)) |