Function: combobulate-cursor-toggle-field

combobulate-cursor-toggle-field is an interactive and natively compiled function defined in combobulate-cursor.el.

Signature

(combobulate-cursor-toggle-field &optional PT)

Documentation

Enable or disable the current field in the cursor editing prompt.

Key Bindings

combobulate-cursor-key-map C-v

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-cursor.el
(defun combobulate-cursor-toggle-field (&optional pt)
  "Enable or disable the current field in the cursor editing prompt."
  ;; NOTE: do not use a letter here to capture the point as it must be
  ;; in the context of the window's point and not the minibuffer where
  ;; this is typically called from!
  (interactive)
  (with-current-buffer combobulate-cursor--active-buffer
    (combobulate-refactor (:id combobulate-cursor--refactor-id)
      (toggle-field (or pt (window-point (get-buffer-window combobulate-cursor--active-buffer)))
                    combobulate-cursor--field-tag))))