|
From: | Stefan Monnier |
Subject: | bug#56110: 27+; switching from line-mode to char-mode |
Date: | Wed, 22 Jun 2022 20:02:55 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> This maybe? > > That works - but I fail to understand why a simple `let' doesn't suffice > (which works as well): Depends if you want to have to think about what other code does or not. If you don't, then `let` is not the same: e.g. if some other code uses `add/remove-function` on that variable within your `let`, their changes will be lost when your `let` ends. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |