diff options
author | Gregory Heytings <gregory@heytings.org> | 2023-05-13 00:13:44 +0200 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2023-05-13 00:13:44 +0200 |
commit | dcf8c01102880652d505cea19845f20c72297b22 (patch) | |
tree | cab6850a526bdc3837ea79b657b437b66a83cf9b /lisp/subr.el | |
parent | acf4763417eaf7cc42e0a63a05673f89900320bf (diff) | |
parent | 1e3a66df459750071a9003a131d7f2c319dbb331 (diff) | |
download | emacs-dcf8c01102880652d505cea19845f20c72297b22.tar.gz |
Merge branch 'scratch/long-lines-cleanup' into 'emacs-29'
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 54b92fc8607..52227b5261c 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3978,7 +3978,7 @@ same LABEL argument. "Helper function for `with-restriction', which see." (save-restriction (narrow-to-region start end) - (if label (internal--lock-narrowing label)) + (if label (internal--label-restriction label)) (funcall body))) (defmacro without-restriction (&rest rest) @@ -4000,7 +4000,7 @@ are lifted. (defun internal--without-restriction (body &optional label) "Helper function for `without-restriction', which see." (save-restriction - (if label (internal--unlock-narrowing label)) + (if label (internal--unlabel-restriction label)) (widen) (funcall body))) |