]> git.eshelyaron.com Git - emacs.git/commitdiff
(pmail-sort-messages): Use pmail-desc-get-start, pmail-desc-get-end
authorGlenn Morris <rgm@gnu.org>
Sat, 6 Sep 2008 18:44:36 +0000 (18:44 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 6 Sep 2008 18:44:36 +0000 (18:44 +0000)
rather than non-existent `marker-' functions.

lisp/mail/pmailsort.el

index b874a0aedb0704efa6b7b97336298cd0561819c4..bded0efde4f1bc7415286323677f17e793ed8246 100644 (file)
@@ -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 @@ If 1st argument REVERSE is non-nil, sort them in reverse order.
          (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))