help: don't cycle through the buffers for every resizing step
Closing a buffer automatically switches to the next buffer. But for the help-text buffer this is not the desired behavior, so each closing needs to be followed by a switch to the preceding buffer. This fixes https://savannah.gnu.org/bugs/?56411.master
parent
57390cff04
commit
423ed031b4
|
@ -72,8 +72,10 @@ void wrap_the_help_text(bool redisplaying)
|
|||
|
||||
fclose(tempfile);
|
||||
|
||||
if (redisplaying)
|
||||
if (redisplaying) {
|
||||
close_buffer();
|
||||
switch_to_prev_buffer();
|
||||
}
|
||||
|
||||
open_buffer(tempfilename, TRUE);
|
||||
remove_magicline();
|
||||
|
|
Loading…
Reference in New Issue