From 62814bfe1fcf1c4cdbef9fd378561120edd42605 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 11 Feb 2014 01:24:33 -0500 Subject: Use correct terminology in switch-frame-split --- lisp/init-framewin.el | 8 ++++---- 1 file 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 -- cgit v1.2.3