; Revert "; * lisp/subr.el (internal--with-narrowing): Simplify"
This reverts commit d9add66161
.
Please install on the release branch only changes that fix
incorrect behavior. Cleanups don't belong here.
This commit is contained in:
parent
1c0b90e5f7
commit
d65beb820c
1 changed files with 4 additions and 3 deletions
|
@ -3956,9 +3956,10 @@ detailed description.
|
||||||
(defun internal--with-narrowing (start end body &optional tag)
|
(defun internal--with-narrowing (start end body &optional tag)
|
||||||
"Helper function for `with-narrowing', which see."
|
"Helper function for `with-narrowing', which see."
|
||||||
(save-restriction
|
(save-restriction
|
||||||
|
(progn
|
||||||
(narrow-to-region start end)
|
(narrow-to-region start end)
|
||||||
(when tag (narrowing-lock tag))
|
(if tag (narrowing-lock tag))
|
||||||
(funcall body)))
|
(funcall body))))
|
||||||
|
|
||||||
(defun find-tag-default-bounds ()
|
(defun find-tag-default-bounds ()
|
||||||
"Determine the boundaries of the default tag, based on text at point.
|
"Determine the boundaries of the default tag, based on text at point.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue