]> git.eshelyaron.com Git - emacs.git/commit
Allow ensuring that a window's starting point is never invisible
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Feb 2022 17:36:43 +0000 (19:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Feb 2022 17:36:43 +0000 (19:36 +0200)
commitdcc97fec29785051d7d11a66beb5f44fbaae6289
tree5b3cc294b6c942f6fe5415c7d7d93b1e23e6ebbf
parent37eef19fd608ca81acb40f974b8d7bbe7fc27127
Allow ensuring that a window's starting point is never invisible

* src/xdisp.c (syms_of_xdisp) <make-window-start-visible>: New
buffer-local variable.
(redisplay_window): If 'make-window-start-visible' is non-nil,
don't accept window-start position that is in invisible text or is
covered by a "replacing" 'display' property.  (Bug#14582)
src/xdisp.c