Function: cl-incf

cl-incf is a function alias for incf, defined in gv.el.gz.

Signature

(cl-incf ARG1 &optional ARG2)

Documentation

Increment PLACE by X (1 by default).

PLACE may be a symbol, or any generalized variable allowed by setf. The return value is the incremented value of PLACE.

If X is specified, it should be an expression that should evaluate to a number.

This macro is considered deprecated in favor of the built-in macro incf that was added in Emacs 31.1.

Probably introduced at or before Emacs version 31.1.

Aliases

cl-incf