Fix scrolling of the stack window in Calc
* lisp/calc/calc.el (calc-align-stack-window): Fix off-by-one error in computing the window-start point. (Bug#54800)
This commit is contained in:
@@ -1815,7 +1815,7 @@ See calc-keypad for details."
|
||||
(if win
|
||||
(progn
|
||||
(calc-cursor-stack-index 0)
|
||||
(vertical-motion (- 2 (window-height win)))
|
||||
(vertical-motion (- 3 (window-height win)))
|
||||
(set-window-start win (point)))))
|
||||
(calc-cursor-stack-index 0)
|
||||
(if (looking-at " *\\.$")
|
||||
|
||||
Reference in New Issue
Block a user