diff options
| author | Chong Yidong | 2011-10-30 09:56:03 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-10-30 09:56:03 +0800 |
| commit | 2d197ffbe2029b479802528eeaec714df4c8a8f6 (patch) | |
| tree | 970da6796e7ba009cd561928f735c2eea41e8f29 /lisp/textmodes | |
| parent | 196e41e4aec1a44ec5b6e9bed485185ba872ae67 (diff) | |
| download | emacs-2d197ffbe2029b479802528eeaec714df4c8a8f6.tar.gz emacs-2d197ffbe2029b479802528eeaec714df4c8a8f6.zip | |
Rename split-window-{above-each-other|split-window-side-by-side}
to split-window-below and split-window-right.
* lisp/window.el (split-window-below, split-window-right): Rename from
split-window-above-each-other and split-window-side-by-side
respectively. All callers changed.
(split-window-sensibly, split-window-sensibly): Use them.
(split-window-keep-point): Doc fix.
* lisp/isearch.el: Add isearch-scroll property to split-window-below
and split-window-right.
* lisp/follow.el (follow-mode):
* lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
* lisp/progmodes/ada-xref.el (ada-gdb-application):
* lisp/emulation/vip.el (vip-buffer-in-two-windows):
* lisp/image-dired.el (image-dired-dired-with-window-configuration):
* lisp/dired-x.el (dired-do-find-marked-files):
* lisp/dired.el (dired-pop-to-buffer):
* lisp/bs.el (bs--show-with-configuration):
* lisp/vc/emerge.el (emerge-setup-windows):
* lisp/textmodes/two-column.el (2C-two-columns):
* lisp/textmodes/reftex-toc.el (reftex-toc):
* lisp/progmodes/gdb-mi.el (gdb-setup-windows):
* lisp/progmodes/fortran.el (fortran-window-create):
* lisp/net/newst-treeview.el (newsticker--treeview-window-init):
* lisp/emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
* lisp/emulation/tpu-edt.el (tpu-gold-map):
* lisp/emulation/crisp.el (crisp-mode-map):
* lisp/calendar/calendar.el (calendar-basic-setup): Callers changed.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/reftex-toc.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/two-column.el | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 5d691f456f7..37983d17931 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -247,10 +247,10 @@ When called with a raw C-u prefix, rescan the document first." | |||
| 247 | 247 | ||
| 248 | (unless unsplittable | 248 | (unless unsplittable |
| 249 | (if reftex-toc-split-windows-horizontally | 249 | (if reftex-toc-split-windows-horizontally |
| 250 | (split-window-horizontally | 250 | (split-window-right |
| 251 | (floor (* (window-width) | 251 | (floor (* (window-width) |
| 252 | reftex-toc-split-windows-fraction))) | 252 | reftex-toc-split-windows-fraction))) |
| 253 | (split-window-vertically | 253 | (split-window-below |
| 254 | (floor (* (window-height) | 254 | (floor (* (window-height) |
| 255 | reftex-toc-split-windows-fraction))))) | 255 | reftex-toc-split-windows-fraction))))) |
| 256 | 256 | ||
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index 68b858162df..de9ac10d0e9 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el | |||
| @@ -333,7 +333,7 @@ first and the associated buffer to its right." | |||
| 333 | ;; first go to full width, so that we can certainly split into two windows | 333 | ;; first go to full width, so that we can certainly split into two windows |
| 334 | (unless (window-full-width-p) | 334 | (unless (window-full-width-p) |
| 335 | (enlarge-window 99999 t)) | 335 | (enlarge-window 99999 t)) |
| 336 | (split-window-horizontally | 336 | (split-window-right |
| 337 | (max window-min-width (min 2C-window-width | 337 | (max window-min-width (min 2C-window-width |
| 338 | (- (frame-width) window-min-width)))) | 338 | (- (frame-width) window-min-width)))) |
| 339 | (if (2C-other) | 339 | (if (2C-other) |