Function: embark-copy-as-kill
embark-copy-as-kill is a natively 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 /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/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))))