aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-03-10 00:03:22 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-03-10 00:03:22 +0100
commit32e737b145fef05105e2bad4ca34ca41072e9569 (patch)
treee8614f2190064557031739a36f800c4a0ef42407
parent7a9c37f1b371b2c144b9d76e1f6333032d9f9179 (diff)
with-restriction, without-restriction: Add declare specification
-rw-r--r--compat-29.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat-29.el b/compat-29.el
index 5cfe154..fee1f5c 100644
--- a/compat-29.el
+++ b/compat-29.el
@@ -306,6 +306,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))
`(save-restriction
(narrow-to-region ,start ,end)
;; Locking is ignored
@@ -321,6 +322,7 @@ 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