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:24 -0000
User-agent: G2/1.0

There was an inadvertent "1" in this function.

(defun BottomWithTwoVerticalWindows ()
   (unless topWindowActive
     (other-window 1)   )
   (shrink-window (round (/ bottom_window_lines 2)))
   (other-window 1)
   (split-window-vertically (- (window-height)
                               bottom_window_lines))
   (when bottom_window_buffer
       (set-window-buffer (next-window)
                        bottom_window_buffer)  )
   (if topWindowActive
     (other-window -1)   )
)


reply via email to

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