Function: logior

logior is a function defined in data.c.

Signature

(logior &rest INTS-OR-MARKERS)

Documentation

Return bitwise-or of all the arguments.

Arguments may be integers, or markers converted to integers.

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 19.20.

Shortdoc

;; number
(logior 4 16)
    => 20

Source Code

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