Function: combobulate-query-builder-copy-query-as-form

combobulate-query-builder-copy-query-as-form is an interactive and natively compiled function defined in combobulate-query.el.

Signature

(combobulate-query-builder-copy-query-as-form)

Documentation

Copy the current query as a form to the kill ring.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-query.el
(defun combobulate-query-builder-copy-query-as-form ()
  "Copy the current query as a form to the kill ring."
  (interactive)
  (combobulate-query-ring-save-query)
  (kill-new (treesit-pattern-expand (combobulate-query-builder-get-query)))
  (combobulate-message "Copied query as form to kill ring"))