Simplify 'without-restriction'
authorGregory Heytings <gregory@heytings.org>
Wed, 16 Aug 2023 15:58:29 +0000 (15:58 +0000)
committerGregory Heytings <gregory@heytings.org>
Mon, 15 Jan 2024 13:26:28 +0000 (13:26 +0000)
commit53b5b77010117e2f58565dacf96fddeb734b6021
tree71fc8170c91ac6c7fc6ea9868cc2e35a5c1c9cea
parent5bb5590dec95e813ed120b3f09734451b4ebb18f
Simplify 'without-restriction'

This simplification is symmetrical to 01fb898420.

* src/editfns.c: (Finternal__labeled_widen): Add a call to
'Fwiden', and rename from 'internal--unlabel-restriction'.
(unwind_labeled_narrow_to_region): Use the renamed function, and
remove the call to 'Fwiden'.
(syms_of_editfns): Rename the symbol.

* lisp/subr.el (internal--without-restriction): Use the renamed
function.

(cherry picked from commit 9e9e11648d3d5514de85edfb69f0949a062f4716)
lisp/subr.el
src/editfns.c