Function: projectile-replace--toggle

projectile-replace--toggle is an interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-replace--toggle)

Documentation

Toggle whether the match on the current line will be applied.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--toggle ()
  "Toggle whether the match on the current line will be applied."
  (interactive)
  (let ((m (projectile-replace--match-at-point)))
    (unless m (user-error "No match on this line"))
    (setf (projectile-replace--match-enabled m)
          (not (projectile-replace--match-enabled m)))
    (projectile-replace--render-preserve)))