From: Gregory Heytings Date: Wed, 8 Mar 2023 09:55:06 +0000 (+0000) Subject: Add 'declare' specs to with- and without-restriction X-Git-Tag: emacs-29.0.90~223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=971ded31c4f;p=emacs.git Add 'declare' specs to with- and without-restriction * lisp/subr.el (with-restriction): (without-restriction): Add 'declare' specs. --- diff --git a/lisp/subr.el b/lisp/subr.el index b8bda0efd3d..c800f380261 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3959,6 +3959,7 @@ to other portions of the buffer, use `without-restriction' with the same LABEL argument. \(fn START END [:label LABEL] BODY)" + (declare (indent 0) (debug t)) (if (eq (car rest) :label) `(internal--with-restriction ,start ,end (lambda () ,@(cddr rest)) ,(cadr rest)) @@ -3981,6 +3982,7 @@ restrictions set by `with-restriction' with the same LABEL argument are lifted. \(fn [:label LABEL] BODY)" + (declare (indent 0) (debug t)) (if (eq (car rest) :label) `(internal--without-restriction (lambda () ,@(cddr rest)) ,(cadr rest))