Skip to content

Setf Extensions ​

Several standard (e.g., car) and Emacs-specific (e.g., window-point) Lisp functions are setf-able by default. This package defines setf handlers for several additional functions:

  • Functions from this package:

    cl-rest        cl-subseq      cl-get         cl-getf
    cl-caaar...cl-cddddr          cl-first...cl-tenth

    Note that for cl-getf (as for nthcdr), the list argument of the function must itself be a valid place form.

  • A macro call, in which case the macro is expanded and setf is applied to the resulting form.