Function: rest

rest is a function alias for cdr, defined in data.c.

This function is obsolete since 27.1; use cl-rest instead.

Signature

(rest LIST)

Documentation

Return the cdr of LIST. If LIST is nil, return nil.

Error if LIST is not nil and not a cons cell. See also cdr-safe.

See Info node (elisp)Cons Cells for a discussion of related basic Lisp concepts such as cdr, car, cons cell and list.

View in manual

Aliases

dired-get-subdir-min (obsolete since 27.1) ad-lambdafy cl-rest rest (obsolete since 27.1) cmpl-prefix-entry-tail transient--suffix-props