Function: combobulate-query-ring-save-query

combobulate-query-ring-save-query is an interactive and natively compiled function defined in combobulate-query.el.

Signature

(combobulate-query-ring-save-query &optional QUERY)

Documentation

Update combobulate-query-ring, optionally with QUERY.

If QUERY is nil, then source the query from the query builder buffer.

Key Bindings

combobulate-query-mode-map C-c C-s

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-query.el
(defun combobulate-query-ring-save-query (&optional query)
  "Update `combobulate-query-ring', optionally with QUERY.

If QUERY is nil, then source the query from the query builder
buffer."
  (interactive)
  (ring-insert combobulate-query-ring (or query (combobulate-query-builder-get-query)))
  (setq combobulate-query-ring-index 0)
  (combobulate-message "Saved query to ring"))