mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
Fix recentering issue in `follow-mode'
* lisp/follow.el (follow-recenter): Make `C-c . C-l' work in windows before the middle one, too (bug#50220). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
602419bbca
commit
8567ec8bcf
@ -858,8 +858,11 @@ from the bottom."
|
||||
(windows (follow-all-followers))
|
||||
(win (nth (/ (- (length windows) 1) 2) windows)))
|
||||
(select-window win)
|
||||
(goto-char dest)
|
||||
(recenter))))
|
||||
(let ((win-s (window-start)))
|
||||
(goto-char dest)
|
||||
(recenter)
|
||||
(when (< dest win-s)
|
||||
(setq follow-internal-force-redisplay t))))))
|
||||
|
||||
|
||||
(defun follow-redraw ()
|
||||
|
Loading…
Reference in New Issue
Block a user