Function: embark-copy-as-kill

embark-copy-as-kill is a byte-compiled function defined in embark.el.

Signature

(embark-copy-as-kill STRINGS)

Documentation

Join STRINGS and save on the kill-ring.

With a prefix argument, prompt for the separator to join the STRINGS, which defaults to a newline.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-copy-as-kill (strings)
  "Join STRINGS and save on the `kill-ring'.
With a prefix argument, prompt for the separator to join the
STRINGS, which defaults to a newline."
  (kill-new (string-join strings (embark--separator strings))))