]> code.delx.au - gnu-emacs/commitdiff
(comint-delete-output): Bind inhibit-read-only to t.
authorLuc Teirlinck <teirllm@auburn.edu>
Sat, 24 Apr 2004 23:06:03 +0000 (23:06 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sat, 24 Apr 2004 23:06:03 +0000 (23:06 +0000)
lisp/comint.el

index 57e785dce472fdc88d0bcc2d86c8024a1b1b7832..7766307f156bd5eb100d0f22f1583102a670b42d 100644 (file)
@@ -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)