summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2023-02-09 01:09:10 +0000
committerGregory Heytings <gregory@heytings.org>2023-02-09 02:44:36 +0100
commit97314447e609e673be060bcdf0f244f396a70a3a (patch)
tree9b2a568a401d2b17f9483f4c2b24c31f48bf7dc0 /lisp/subr.el
parenta4aa32bdfff7aaf54efbacbb04b7f2b52fef92a7 (diff)
downloademacs-97314447e609e673be060bcdf0f244f396a70a3a.tar.gz
Make 'narrowing-lock' and 'narrowing-unlock' internal
* src/editfns.c (Finternal__lock_narrowing): Renamed from 'narrowing-lock'. (Finternal__unlock_narrowing): Renamed from 'narrowing-unlock'. (unwind_narrow_to_region_locked): (narrow_to_region_locked): (syms_of_editfns): Use the new names. * lisp/subr.el (internal--with-narrowing): Use the new name.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 32c997425cf..5cc0c94ba48 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3963,7 +3963,7 @@ detailed description.
(save-restriction
(progn
(narrow-to-region start end)
- (if tag (narrowing-lock tag))
+ (if tag (internal--lock-narrowing tag))
(funcall body))))
(defun find-tag-default-bounds ()