]> git.eshelyaron.com Git - emacs.git/commit
Avoid infinite recursion with 'relative' line numbers display
authorEli Zaretskii <eliz@gnu.org>
Fri, 25 Sep 2020 08:55:51 +0000 (11:55 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 25 Sep 2020 08:55:51 +0000 (11:55 +0300)
commitcc8fef2bddfcf4e1c3bab35a18621dd7666d022e
tree8f022dfad75b8298d05b2bb17fb9943b3137494b
parent395f10cb98af122404bcdc2eb60d30decf297625
Avoid infinite recursion with 'relative' line numbers display

* src/xdisp.c (display_count_lines_visually): Bind
'display-line-numbers' to 'relative' around 'start_display' as
well, since that can invoke 'move_it_to' internally, thus
causing infinite recursion.  (Bug#43589)
src/xdisp.c