From 7f5f60d54340aa0b36f22057fd3f2665fbcd5d67 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 25 Nov 2019 22:16:50 +0100 Subject: [PATCH] insert compilation end message at the bottom of the buffer --- lisp/emacs-lisp/comp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 2ac912929d1..b84a3e53364 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -1852,7 +1852,9 @@ Prepare every function for final compilation and drive the C back-end." (let ((msg "Compilation finished.")) (setf comp-prc-pool ()) (with-current-buffer (get-buffer-create comp-async-buffer-name) - (insert msg "\n")) + (save-excursion + (goto-char (point-max)) + (insert msg "\n"))) (message msg))))) ;;; Compiler entry points. -- 2.39.5