From: Andrea Corallo Date: Mon, 25 Nov 2019 21:16:50 +0000 (+0100) Subject: insert compilation end message at the bottom of the buffer X-Git-Tag: emacs-28.0.90~2727^2~935 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f5f60d54340aa0b36f22057fd3f2665fbcd5d67;p=emacs.git insert compilation end message at the bottom of the buffer --- 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.