|
From: | Ryan C. Thompson |
Subject: | [Orgmode] Re: Vertical split in Emacs 23 |
Date: | Fri, 31 Jul 2009 09:28:44 -0400 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
If you wish to affect the behavior of only a specific case of splitting windows (for example, the org-todo function) you can use advice to temporarily modify one or more of these variables for the duration of the function call. For example, the following (untested!) code should guarantee a vertical split for org-todo:
(defadvice org-todo (around tweak-splitting-behavior activate) "Tweak the sensible window splitting behavior for org-todo." (let ((split-height-threshold 0)) ad-do-it))
[Prev in Thread] | Current Thread | [Next in Thread] |