]> git.eshelyaron.com Git - emacs.git/commitdiff
insert compilation end message at the bottom of the buffer
authorAndrea Corallo <akrl@sdf.org>
Mon, 25 Nov 2019 21:16:50 +0000 (22:16 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:11 +0000 (11:38 +0100)
lisp/emacs-lisp/comp.el

index 2ac912929d1c2901df6790730ae0303fd9264a84..b84a3e5336445c4f2f939083fa6ba4a0727c3d80 100644 (file)
@@ -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)))))
 \f
 ;;; Compiler entry points.