(pmail-sort-messages): Use pmail-desc-get-start, pmail-desc-get-end
rather than non-existent `marker-' functions.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user