Function: diary-sort-entries

diary-sort-entries is a byte-compiled function defined in diary-lib.el.gz.

Signature

(diary-sort-entries)

Documentation

Sort the list of diary entries by time of day.

If you add this function to diary-list-entries-hook, it should be the last item in the hook, in case earlier items add diary entries, or change the order.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defun diary-sort-entries ()
  "Sort the list of diary entries by time of day.
If you add this function to `diary-list-entries-hook', it should
be the last item in the hook, in case earlier items add diary
entries, or change the order."
  (setq diary-entries-list (sort diary-entries-list 'diary-entry-compare)))