]> git.eshelyaron.com Git - emacs.git/commitdiff
abort-redisplay: Add missing unbind_to in 'recenter'
authorFlorian Rommel <mail@florommel.de>
Sun, 3 Jul 2022 15:04:32 +0000 (17:04 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 3 Jul 2022 16:07:28 +0000 (19:07 +0300)
* src/window.c (recenter): Add ubind_to before early return.
(Bug#56369)

src/window.c

index ad03a02758e5ccf209fffaadee4b4d763b49e9a2..af463b90ce6ffc4198e7805d3eebccb87ad423a0 100644 (file)
@@ -6667,6 +6667,7 @@ and redisplay normally--don't erase and redraw the frame.  */)
          if (h <= 0)
            {
              bidi_unshelve_cache (itdata, false);
+             unbind_to (count, Qnil);
              return Qnil;
            }