From: Luc Teirlinck Date: Sat, 24 Apr 2004 23:06:03 +0000 (+0000) Subject: (comint-delete-output): Bind inhibit-read-only to t. X-Git-Tag: ttn-vms-21-2-B4~6615 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b784bda46b9220a85d7d3e422aa563bf6edc8635;p=emacs.git (comint-delete-output): Bind inhibit-read-only to t. --- 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'." Does not delete the prompt." (interactive) (let ((proc (get-buffer-process (current-buffer))) - (replacement nil)) + (replacement nil) + (inhibit-read-only t)) (save-excursion (let ((pmark (progn (goto-char (process-mark proc)) (forward-line 0)