Function: evil-without-restriction
evil-without-restriction is a macro defined in evil-common.el.
Signature
(evil-without-restriction &rest BODY)
Documentation
Execute BODY with the top-most narrowing removed.
This works only if the previous narrowing has been generated by
evil-with-restriction.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defmacro evil-without-restriction (&rest body)
"Execute BODY with the top-most narrowing removed.
This works only if the previous narrowing has been generated by
`evil-with-restriction'."
(declare (indent defun) (debug t))
`(save-restriction
(widen)
(narrow-to-region (car (car evil-restriction-stack))
(cdr (car evil-restriction-stack)))
(let ((evil-restriction-stack (cdr evil-restriction-stack)))
,@body)))