Mercurial > emacs
changeset 98049:a82fd29a3a12
(pmail-sort-messages): Use pmail-desc-get-start, pmail-desc-get-end
rather than non-existent `marker-' functions.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 06 Sep 2008 18:44:36 +0000 |
parents | dec575ec3687 |
children | edd21e1628da |
files | lisp/mail/pmailsort.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/pmailsort.el Sat Sep 06 18:37:43 2008 +0000 +++ b/lisp/mail/pmailsort.el Sat Sep 06 18:44:36 2008 +0000 @@ -33,8 +33,6 @@ (autoload 'timezone-make-date-sortable "timezone") -;(declare-function pmail-desc-get-marker-end "pmailsort" (msgnum)) -;(declare-function pmail-desc-get-marker-start "pmailsort" (msgnum)) (declare-function pmail-update-summary "pmailsum" (&rest ignore)) ;; Sorting messages in Pmail buffer @@ -176,8 +174,8 @@ (setq sort-lists (cons (list (funcall keyfun msgnum) ;Make sorting key (eq pmail-current-message msgnum) ;True if current - (pmail-desc-get-marker-start msgnum) - (pmail-desc-get-marker-end msgnum)) + (pmail-desc-get-start msgnum) + (pmail-desc-get-end msgnum)) sort-lists)) (if (zerop (% msgnum 10)) (message "Finding sort keys...%d" msgnum))