help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What should I use to unrestrict a buffer?


From: Eli Zaretskii
Subject: Re: What should I use to unrestrict a buffer?
Date: Thu, 25 Jan 2024 09:14:26 +0200

> From: hw <hw@adminart.net>
> Date: Wed, 24 Jan 2024 21:12:56 +0100
> 
> Also, I don't want possible restrictions to be restored, like
> (without-restriction) would do.

Why not?  After you do whatever you need to do with the widened
buffer, you are supposed to return the restrictions to their previous
state, and that includes restoring the restrictions present before the
widening.  Why would you need to avoid restoring them, and thus change
the restrictions behind some other Lisp program which doesn't expect
its restrictions to be lifted?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]