summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-11 15:39:27 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-11 15:39:27 +0000
commitbec04ade3a121c2707d34e04bd7213e59025d2cc (patch)
tree72c76cc7de5f0cbcb624d303af7d669a0979082d /lisp
parentc5348233d2efc2cf1a4d5d1afa9287a46c43c795 (diff)
downloademacs-bec04ade3a121c2707d34e04bd7213e59025d2cc.tar.gz
(comint-goto-process-mark): Don't print a message
when running in batch mode.
Diffstat (limited to 'lisp')
-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."
(let ((proc (or (get-buffer-process (current-buffer))
(error "Current buffer has no process"))))
(goto-char (process-mark proc))
- (message "Point is now at the process mark")))
+ (when (interactive-p)
+ (message "Point is now at the process mark"))))
(defun comint-bol-or-process-mark ()
"Move point to beginning of line (after prompt) or to the process mark.