Function: without-restriction
without-restriction is a macro defined in compat-29.el.
Signature
(without-restriction [:label LABEL] BODY)
Documentation
[Compatibility macro for without-restriction, defined in Emacs 29.1. See
(compat) Emacs 29.1' for more details.]
Execute BODY without restrictions.
The current restrictions, if any, are restored upon return.
When the optional :label LABEL argument is present, the restrictions set by
with-restriction with the same LABEL argument are lifted.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defmacro without-restriction (&rest rest) ;; <compat-tests:without-restriction>
"Execute BODY without restrictions.
The current restrictions, if any, are restored upon return.
When the optional :label LABEL argument is present, the
restrictions set by `with-restriction' with the same LABEL argument
are lifted.
\(fn [:label LABEL] BODY)"
(declare (indent 0) (debug t))
`(save-restriction
(widen)
;; Locking is ignored
,@(if (eq (car rest) :label) (cddr rest) rest)))