1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

* lisp/emacs-lisp/warnings.el: Fix 'warning-display-at-bottom'.

(display-warning): Move point to the beginning of the last line
instead of its end for 'warning-display-at-bottom' (bug#69983).
This commit is contained in:
Juri Linkov 2024-05-02 09:53:06 +03:00
parent 7d15d17353
commit 592873a52d

View file

@ -383,7 +383,7 @@ entirely by setting `warning-suppress-types' or
(when warning-display-at-bottom
(with-selected-window window
(goto-char (point-max))
(set-window-point window (1- (point-max)))
(forward-line -1)
(recenter -1)))
(sit-for 0)))))))))