aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/comint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index dbe75edbf63..72e536c0d08 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2703,7 +2703,8 @@ from input that has not yet been sent."
2703 (let ((proc (or (get-buffer-process (current-buffer)) 2703 (let ((proc (or (get-buffer-process (current-buffer))
2704 (error "Current buffer has no process")))) 2704 (error "Current buffer has no process"))))
2705 (goto-char (process-mark proc)) 2705 (goto-char (process-mark proc))
2706 (message "Point is now at the process mark"))) 2706 (when (interactive-p)
2707 (message "Point is now at the process mark"))))
2707 2708
2708(defun comint-bol-or-process-mark () 2709(defun comint-bol-or-process-mark ()
2709 "Move point to beginning of line (after prompt) or to the process mark. 2710 "Move point to beginning of line (after prompt) or to the process mark.