Function: tramp-compat-ntake

tramp-compat-ntake is a function alias for ntake, defined in fns.c.

Signature

(tramp-compat-ntake N LIST)

Documentation

Modify LIST to keep only the first N elements.

If N is zero or negative, return nil. If N is greater or equal to the length of LIST, return LIST unmodified. Otherwise, return LIST after truncating it.

Aliases

tramp-compat-ntake