changeset 3253:f4d37be94734

(split-window-vertically): Return the new window.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 May 1993 16:13:16 +0000
parents 4728125f5873
children e1f5f8f23d90
files lisp/window.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Sat May 29 16:05:59 1993 +0000
+++ b/lisp/window.el	Sat May 29 16:13:16 1993 +0000
@@ -90,7 +90,8 @@
 	  (if (< (window-start new-w) old-point)
 	      (progn
 		(set-window-point new-w old-point)
-		(select-window new-w)))))))
+		(select-window new-w)))))
+    new-w))
 
 (defun split-window-horizontally (&optional arg)
   "Split current window into two windows side by side.