diff options
author | Romain Francoise <romain@orebokech.com> | 2008-09-28 16:56:48 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2008-09-28 16:56:48 +0000 |
commit | ddee16047157a15fb4de0dba8ee2bcdb59d2fe00 (patch) | |
tree | 741a7ed7129e50115f52ed58719d95a6def89bdd /lisp/comint.el | |
parent | 7581ba4099a4784e46d62de7df844751d341d984 (diff) | |
download | emacs-ddee16047157a15fb4de0dba8ee2bcdb59d2fe00.tar.gz |
(comint-show-output): Adjust to stickiness changes of the output field.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index c639053c1ca..1070652d777 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -2125,11 +2125,7 @@ Sets mark to the value of point when this command is run." (set-window-start (selected-window) (point)) (comint-skip-prompt)) (t - (let* ((beg (field-beginning pos)) - (pt (if (= (point-min) beg) - (point-min) - (1+ beg)))) - (goto-char pt)) + (goto-char (field-beginning pos)) (set-window-start (selected-window) (point)))))) |