diff options
| author | Stefan Monnier | 2009-09-24 18:10:44 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-24 18:10:44 +0000 |
| commit | b3f01e463a82a1cb6f837f9060ede7a8f70c5143 (patch) | |
| tree | 4f3113e42b5b03f7a3978c2a75ae3f365b868ec0 | |
| parent | feabfb6c7204ea224417589554a7f4b9a72a137d (diff) | |
| download | emacs-b3f01e463a82a1cb6f837f9060ede7a8f70c5143.tar.gz emacs-b3f01e463a82a1cb6f837f9060ede7a8f70c5143.zip | |
(term-set-scroll-region, term-handle-ansi-escape):
Undo last change, which didn't fix the problem and introduced others.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/term.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad40f3a2e1a..d0394edc7af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * term.el (term-set-scroll-region, term-handle-ansi-escape): | ||
| 4 | Undo last change, which didn't fix the problem and introduced others. | ||
| 5 | |||
| 1 | 2009-09-24 Nick Roberts <nickrob@snap.net.nz> | 6 | 2009-09-24 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * progmodes/gdb-mi.el: Don't require speedbar. | 8 | * progmodes/gdb-mi.el: Don't require speedbar. |
diff --git a/lisp/term.el b/lisp/term.el index 2d52bdc0f1c..b7eb9fd1845 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -3369,8 +3369,7 @@ Set it to nil to disable bold.") | |||
| 3369 | ((eq char ?r) | 3369 | ((eq char ?r) |
| 3370 | (term-set-scroll-region | 3370 | (term-set-scroll-region |
| 3371 | (1- term-terminal-previous-parameter) | 3371 | (1- term-terminal-previous-parameter) |
| 3372 | (1- term-terminal-parameter)) | 3372 | (1- term-terminal-parameter))) |
| 3373 | (term-goto 0 0)) | ||
| 3374 | (t))) | 3373 | (t))) |
| 3375 | 3374 | ||
| 3376 | (defun term-set-scroll-region (top bottom) | 3375 | (defun term-set-scroll-region (top bottom) |
| @@ -3390,7 +3389,8 @@ The top-most line is line 0." | |||
| 3390 | (or (term-using-alternate-sub-buffer) | 3389 | (or (term-using-alternate-sub-buffer) |
| 3391 | (not (and (= term-scroll-start 0) | 3390 | (not (and (= term-scroll-start 0) |
| 3392 | (= term-scroll-end term-height))))) | 3391 | (= term-scroll-end term-height))))) |
| 3393 | (term-move-columns (- (term-current-column)))) | 3392 | (term-move-columns (- (term-current-column))) |
| 3393 | (term-goto 0 0)) | ||
| 3394 | 3394 | ||
| 3395 | ;; (defun term-switch-to-alternate-sub-buffer (set) | 3395 | ;; (defun term-switch-to-alternate-sub-buffer (set) |
| 3396 | ;; ;; If asked to switch to (from) the alternate sub-buffer, and already (not) | 3396 | ;; ;; If asked to switch to (from) the alternate sub-buffer, and already (not) |