summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-03-09 06:30:23 +0100
committerStefan Kangas <stefankangas@gmail.com>2023-03-09 06:30:23 +0100
commit5056b8e589753698ce7ee935980ca03de0e41bf5 (patch)
treed02cb9bd739b5caa7bc6d57047e07d6012d112c5 /lisp/subr.el
parentda4f1fa550f753e76c611b313d4f00987daed5ad (diff)
parent7e1012765c40a10a8a051c39566778913dc7e224 (diff)
downloademacs-5056b8e589753698ce7ee935980ca03de0e41bf5.tar.gz
Merge from origin/emacs-29
7e1012765c4 Fix libwebp check for some webp installations c2ca009da4c Avoid potential infloop 34c14430e9d Don't misindent 'else:' after 'if re.match:' in Python 8a2a554192a * Make sure `default-directory' exists before spawning pr... 1862e7eb7ef Fix sed expression in install-etc make target c8ec0017cb9 Avoid using bash in the emacsclient desktop file a588937094f Fix documentation of the 'line-height' text property 971ded31c4f Add 'declare' specs to with- and without-restriction
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index e29c8ddd6c4..40bec544b73 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4051,6 +4051,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))
@@ -4073,6 +4074,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))