How to reproduce: Suppose I have started the inferior Prolog shell using M-x run-prolog. If I "consult" a Prolog mode buffer using M-x prolog-consult-buffer, the Emacs cursor ends up in the inferior Prolog shell. Expected behaviour: The cursor should remain inside the Prolog mode buffer when consulting the buffer. The existing behaviour is inconsistent with just about every other inferior shell for other programming languages (lisp, python, scheme, etc.). Further details: I've noticed that the current implementation of "prolog-consult-buffer" calls "prolog-goto-prolog-process-buffer", which is responsible tor making the cursor go to inferior Prolog shell. Questions: * Feature request: Would the maintainers consider adding an option to disable this behaviour? * What should I currently add to my ~/.emacs file as a temporary measure to make the cursor remain in the Prolog mode buffer instead of jumping into the inferior Prolog shell?