* lisp/subr.el (with-restriction): Tweak indent rule
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user