summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-11 01:24:33 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-11 01:24:33 -0500
commit62814bfe1fcf1c4cdbef9fd378561120edd42605 (patch)
treeac66c044a5ff8e9e41a6325e9b68ba57eec760ad /lisp
parent576df31d1e20c5999a50c20bdd2eeaba00097d8a (diff)
downloademacs.d-62814bfe1fcf1c4cdbef9fd378561120edd42605.tar.gz
Use correct terminology in switch-frame-split
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-framewin.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/init-framewin.el b/lisp/init-framewin.el
index 29cc620..a25e23f 100644
--- a/lisp/init-framewin.el
+++ b/lisp/init-framewin.el
@@ -19,12 +19,12 @@
(other-window 1))
;; http://www.emacswiki.org/emacs/ToggleWindowSplit
-(defun km/switch-frame-split ()
- "If the frame is split vertically, split it horizontally or vice versa.
-Assumes that the frame is only split into two."
+(defun km/switch-window-split ()
+ "If the window is split vertically, split it horizontally or vice versa.
+Assumes that the window is only split into two."
(interactive)
(unless (= (length (window-list)) 2)
- (error "Can only toggle a frame split in two"))
+ (error "Can only toggle a window split in two"))
(let ((split-vertically-p (window-combined-p)))
(delete-window)
(if split-vertically-p