From d99fbff01ed7bc92e92f23f224885bb9ce7ea7f6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 11 Sep 2014 00:27:47 -0400 Subject: Replace some error calls with user-error calls --- lisp/init-framewin.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/init-framewin.el') diff --git a/lisp/init-framewin.el b/lisp/init-framewin.el index b954c4a..238a56f 100644 --- a/lisp/init-framewin.el +++ b/lisp/init-framewin.el @@ -24,7 +24,7 @@ Assumes that the window is only split into two." (interactive) (unless (= (length (window-list)) 2) - (error "Can only toggle a window split in two")) + (user-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