pop

pop is a Lisp macro in `subr.el'.

(pop PLACE)

Return the first element of PLACE's value, and remove it from the list.
PLACE must be a generalized variable whose value is a list.
If the value is nil, `pop' returns nil but does not actually
change the list.