Function: clipetty-kill-ring-save
clipetty-kill-ring-save is an interactive and natively compiled
function defined in clipetty.el.
Signature
(clipetty-kill-ring-save)
Documentation
Enables Clipetty just for this save.
It can be annoying to have Clipetty overwrite your system
clipboard every time you kill something. This function wraps
Clipetty around the kill-ring-save function and can be invoked
explicitly.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/7jgingzby054id3d9x64ir7i7a509mkl-emacs-packages-deps/share/emacs/site-lisp/elpa/clipetty-20200327.2241/clipetty.el
;;;###autoload
(defun clipetty-kill-ring-save ()
"Enables Clipetty just for this save.
It can be annoying to have Clipetty overwrite your system
clipboard every time you kill something. This function wraps
Clipetty around the `kill-ring-save' function and can be invoked
explicitly."
(interactive)
(when (use-region-p)
(if clipetty-mode
(kill-ring-save (region-beginning) (region-end))
(clipetty-mode)
(kill-ring-save (region-beginning) (region-end))
(clipetty-mode 0))))