Function: evil-narrow-to-field

evil-narrow-to-field is a macro defined in evil-common.el.

Signature

(evil-narrow-to-field &rest BODY)

Documentation

Narrow to the current field.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defmacro evil-narrow-to-field (&rest body)
  "Narrow to the current field."
  (declare (indent defun)
           (debug t))
  `(evil-with-restriction (field-beginning) (field-end)
     ,@body))