imap-remassoc

imap-remassoc is a compiled Lisp function in `imap.el'.

(imap-remassoc KEY ALIST)

Delete by side effect any elements of ALIST whose car is `equal' to KEY.
The modified ALIST is returned. If the first member
of ALIST has a car that is `equal' to KEY, there is no way to remove it
by side effect; therefore, write `(setq foo (remassoc key foo))' to be
sure of changing the value of `foo'.