Function: max

max is a function defined in data.c.

Signature

(max NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS)

Documentation

Return largest of all the arguments (which must be numbers or markers).

The value is always a number; markers are converted to numbers.

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 21.1.

Shortdoc

;; number
(max 7 9 3)
    => 9

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  return minmax_driver (nargs, args, ARITH_GRTR);
}