]> git.eshelyaron.com Git - emacs.git/commit
(repos-count-screen-lines): Narrow without changing point-min
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Nov 2019 21:41:07 +0000 (23:41 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Nov 2019 21:43:33 +0000 (23:43 +0200)
commit6a2a371c288a13060c44fa1af3ab73db611705a4
tree55b4ba15f14c2841aaa84a052c576bef6c51d883
parentc455e609bdf065c3177eec29234348809cdc372c
(repos-count-screen-lines): Narrow without changing point-min

* lisp/reposition.el (repos-count-screen-lines): Narrow without
changing point-min.  It wasn't necessary for vertical-motion to
work, and it had some adverse effects on how font-lock rules were
applied
(https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00522.html).
This can also be an alternative fix for bug#38049.
lisp/reposition.el