* lisp/subr.el (with-restriction): Tweak indent rule
This commit is contained in:
parent
36aa9bd818
commit
4da479920e
2 changed files with 2 additions and 2 deletions
|
@ -738,7 +738,7 @@ and VALUE-END, otherwise a STRING giving the value."
|
|||
;; avoid slowdowns due to the quadratic
|
||||
;; complexity of the regexp. See bug#61514.
|
||||
(when (with-restriction
|
||||
(point) (min (+ (point) 10000) (point-max))
|
||||
(point) (min (+ (point) 10000) (point-max))
|
||||
(looking-at (concat "[^<>\n]+?"
|
||||
(xmltok-attribute regexp))))
|
||||
(unless recovering
|
||||
|
|
|
@ -3971,7 +3971,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))
|
||||
(declare (indent 2) (debug t))
|
||||
(if (eq (car rest) :label)
|
||||
`(internal--with-restriction ,start ,end (lambda () ,@(cddr rest))
|
||||
,(cadr rest))
|
||||
|
|
Loading…
Add table
Reference in a new issue