adjusting buffer-showing to version of display-buffer in emacs 23.

Setting split-width-threshold to nil inhibits horizontal splitting and
gets you the behavior of Emacs 22 in this respect.


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@10274 a380766d-ff14-0410-b294-a243070f3f08
This commit is contained in:
andersvi 2010-08-28 13:00:25 +00:00
parent 3c21a65e4c
commit a6eaaa5857

View file

@ -97,7 +97,7 @@ Default behavior is to only scroll when point is not at end of buffer."
If EOB-P is non-nil, positions cursor at end of buffer." If EOB-P is non-nil, positions cursor at end of buffer."
(interactive "P") (interactive "P")
(with-sclang-post-buffer (with-sclang-post-buffer
(let ((window (display-buffer (current-buffer) :frame t))) (let ((window (display-buffer (current-buffer))))
(when eob-p (when eob-p
(goto-char (point-max)) (goto-char (point-max))
(save-selected-window (save-selected-window