Function: +

+ is a function defined in data.c.

Signature

(+ &rest NUMBERS-OR-MARKERS)

Documentation

Return sum of any number of arguments, which are numbers or markers.

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 1.4.

Shortdoc

;; number
(+ 1 2)
    => 3
  (+ 1 2 3 4)
    => 10

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  if (nargs == 0)
    return make_fixnum (0);
  Lisp_Object a = check_number_coerce_marker (args[0]);
  return nargs == 1 ? a : arith_driver (Aadd, nargs, args, a);
}