Function: setnth

setnth is a byte-compiled function defined in cl-compat.el.gz.

Signature

(setnth N LIST X)

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/cl-compat.el.gz
;;; Setf internals.

(defun setnth (n list x)
  (setcar (nthcdr n list) x))