aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-04-24 23:06:03 +0000
committerLuc Teirlinck2004-04-24 23:06:03 +0000
commitb784bda46b9220a85d7d3e422aa563bf6edc8635 (patch)
tree7f6d11222b01c19a2824e92e51645e2c59293049
parent759f960aeafb2650b94cf9e1cbcfb6f03b8b4f36 (diff)
downloademacs-b784bda46b9220a85d7d3e422aa563bf6edc8635.tar.gz
emacs-b784bda46b9220a85d7d3e422aa563bf6edc8635.zip
(comint-delete-output): Bind inhibit-read-only to t.
-rw-r--r--lisp/comint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 57e785dce47..7766307f156 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2006,7 +2006,8 @@ This function could be in the list `comint-output-filter-functions'."
2006Does not delete the prompt." 2006Does not delete the prompt."
2007 (interactive) 2007 (interactive)
2008 (let ((proc (get-buffer-process (current-buffer))) 2008 (let ((proc (get-buffer-process (current-buffer)))
2009 (replacement nil)) 2009 (replacement nil)
2010 (inhibit-read-only t))
2010 (save-excursion 2011 (save-excursion
2011 (let ((pmark (progn (goto-char (process-mark proc)) 2012 (let ((pmark (progn (goto-char (process-mark proc))
2012 (forward-line 0) 2013 (forward-line 0)