Function: mh-greaterp

mh-greaterp is a byte-compiled function defined in mh-utils.el.gz.

Signature

(mh-greaterp MSG1 MSG2)

Documentation

Return the greater of two message indicators MSG1 and MSG2.

Strings are "smaller" than numbers. Valid values are things like "cur", "last", 1, and 1820.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-utils.el.gz
(defun mh-greaterp (msg1 msg2)
  "Return the greater of two message indicators MSG1 and MSG2.
Strings are \"smaller\" than numbers.
Valid values are things like \"cur\", \"last\", 1, and 1820."
  (if (numberp msg1)
      (if (numberp msg2)
          (> msg1 msg2)
        t)
    (if (numberp msg2)
        nil
      (string-lessp msg2 msg1))))