emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/comint.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/comint.el
Date: Thu, 09 Jun 2005 17:08:13 -0400

Index: emacs/lisp/comint.el
diff -c emacs/lisp/comint.el:1.319 emacs/lisp/comint.el:1.320
*** emacs/lisp/comint.el:1.319  Thu May 26 12:39:32 2005
--- emacs/lisp/comint.el        Thu Jun  9 21:08:13 2005
***************
*** 1547,1554 ****
                     nil comint-last-input-start comint-last-input-end
                     nil comint-last-input-end
                     (+ comint-last-input-end echo-len))))
!                 (delete-region comint-last-input-end
!                                (+ comint-last-input-end echo-len)))))
  
          ;; This used to call comint-output-filter-functions,
          ;; but that scrolled the buffer in undesirable ways.
--- 1547,1558 ----
                     nil comint-last-input-start comint-last-input-end
                     nil comint-last-input-end
                     (+ comint-last-input-end echo-len))))
!                 ;; Certain parts of the text to be deleted may have
!                 ;; been mistaken for prompts.  We have to prevent
!                 ;; problems when `comint-prompt-read-only' is non-nil.
!                 (let ((inhibit-read-only t))
!                   (delete-region comint-last-input-end
!                                  (+ comint-last-input-end echo-len))))))
  
          ;; This used to call comint-output-filter-functions,
          ;; but that scrolled the buffer in undesirable ways.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]