help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a bottom window?


From: TheFlyingDutchman
Subject: Re: Creating a bottom window?
Date: Wed, 08 Dec 2010 15:20:23 -0000
User-agent: G2/1.0

should have been:

(defun BottomWithTwoHorizontalWindows ()
   (get-buffer-create " work")
   (delete-other-windows)
   (switch-to-buffer " work")
   (split-window-vertically (- (window-height)
                            bottom_window_lines))
   (split-window-horizontally)

   (set-window-buffer nil leftWindowBuffer)
   (other-window 1)
   (set-window-buffer nil rightWindowBuffer)
   (other-window 1)
   (when bottom_window_buffer
       (set-window-buffer nil
                        bottom_window_buffer))
   (other-window 1)
   (when rightWindowActive
     (other-window 1)  )
   (kill-buffer " work")
)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]