]> git.eshelyaron.com Git - emacs.git/commit
Use truncated-partial-width-window-p in more places (bug#56815)
authorJuri Linkov <juri@linkov.net>
Sat, 27 Aug 2022 19:52:03 +0000 (22:52 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 27 Aug 2022 19:52:03 +0000 (22:52 +0300)
commit3f076a8e44b652691ffd4a2a07b04ab956ed4668
treebc95a6ee6098888cf752fe9b16f7caf5d1e57764
parent0ab49d46ddbe27970c62a56597de000bc1c3232c
Use truncated-partial-width-window-p in more places (bug#56815)

* lisp/simple.el (line-move, line-move-finish):
Use truncated-partial-width-window-p.

* lisp/window.el (count-screen-lines, scroll-command--goto-goal-column):
Use truncated-partial-width-window-p.
(truncated-partial-width-window-p): Replace window-width with
window-total-width.

* src/indent.c (scan_for_column): Bring the logic of using
truncated-partial-width-window-p closer to what the display engine does.
lisp/simple.el
lisp/window.el
src/indent.c