summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-09-02 01:27:57 +0000
committerGlenn Morris <rgm@gnu.org>2007-09-02 01:27:57 +0000
commit4ebae6f34098f8f9cc54257391dd2b9a3a8ac8b8 (patch)
treecaa305921a5f121e114e9ce079708fa2c83f7374 /lisp/comint.el
parent642d5c185b1ce741f3f7005de6b4e99c0acb49f4 (diff)
downloademacs-4ebae6f34098f8f9cc54257391dd2b9a3a8ac8b8.tar.gz
(comint-mode): Don't set scroll-conservatively.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index e8a6a139db5..d08b2013426 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -643,9 +643,15 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
(make-local-variable 'comint-move-point-for-output)
(make-local-variable 'comint-scroll-show-maximum-output)
(make-local-variable 'comint-stored-incomplete-input)
+ ;; Following disabled because it seems to break the case when
+ ;; comint-scroll-show-maximum-output is nil, and no-one can remember
+ ;; what the original problem was. If there are problems with point
+ ;; not going to the end, consider re-enabling this.
+ ;; http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00827.html
+ ;;
;; This makes it really work to keep point at the bottom.
- (make-local-variable 'scroll-conservatively)
- (setq scroll-conservatively 10000)
+;;; (make-local-variable 'scroll-conservatively)
+;;; (setq scroll-conservatively 10000)
(add-hook 'pre-command-hook 'comint-preinput-scroll-to-bottom t t)
(make-local-variable 'comint-ptyp)
(make-local-variable 'comint-process-echoes)