Function: cl--set-substring
cl--set-substring is an autoloaded and byte-compiled function defined
in cl-lib.el.gz.
Signature
(cl--set-substring STR START END VAL)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-lib.el.gz
(defun cl--set-substring (str start end val)
(if end (if (< end 0) (cl-incf end (length str)))
(setq end (length str)))
(if (< start 0) (cl-incf start (length str)))
(concat (and (> start 0) (substring str 0 start))
val
(and (< end (length str)) (substring str end))))