diff options
| author | Eli Zaretskii | 2024-11-10 20:49:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-11-10 20:49:45 +0200 |
| commit | 90c97d3fac989f3048fda4a30a626bec2c3301c5 (patch) | |
| tree | e1044348239560496cf8055ee8c3b0c6d5be9416 /src/bytecode.c | |
| parent | c96e57609076c4d5627e698a6f12a731a77c365e (diff) | |
| download | emacs-90c97d3fac989f3048fda4a30a626bec2c3301c5.tar.gz emacs-90c97d3fac989f3048fda4a30a626bec2c3301c5.zip | |
Fix handling of permanent-local variables in 'kill-all-local-variables'
The original implementation went too far and caused unexpected
results.
* src/buffer.c (reset_buffer_local_variables): Second argument is
now 'int', and can be 0, 1, or 2.
(Fkill_all_local_variables): Call 'reset_buffer_local_variables'
with 2nd argument 2 if KILL-PERMANENT is non-nil. (Bug#74091)
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions