summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-10 22:04:17 +0100
committerjao <jao@gnu.org>2022-09-10 22:05:46 +0100
commit0b5e320d07f841d6eab9225cd1eac672ee70ecdc (patch)
tree46a2cad70eec78b379bd449c58bbdb085886114c /init.el
parent44a82900e4ee484f1e95e5a4ef4c97db30ccc98c (diff)
downloadelibs-0b5e320d07f841d6eab9225cd1eac672ee70ecdc.tar.gz
elibs-0b5e320d07f841d6eab9225cd1eac672ee70ecdc.tar.bz2
jao-afio: jao-trisect belongs there
Diffstat (limited to 'init.el')
-rw-r--r--init.el17
1 files changed, 1 insertions, 16 deletions
diff --git a/init.el b/init.el
index 6c295f0..d5883d1 100644
--- a/init.el
+++ b/init.el
@@ -1255,22 +1255,7 @@
(use-package tool-bar)
(tool-bar-mode -1)
-(defun jao-trisect (&optional force)
- (interactive)
- (let ((fw (frame-width)))
- (cond ((or force (>= fw 240))
- (let ((b (current-buffer)))
- (delete-other-windows)
- (switch-to-buffer (other-buffer b))
- (split-window-horizontally)
- (switch-to-buffer (other-buffer b))
- (split-window-horizontally)
- (switch-to-buffer b)
- (balance-windows)))
- ((> fw 162)
- (delete-other-windows)
- (split-window-horizontally)
- (switch-to-buffer (other-buffer))))))
+(defalias 'jao-trisect 'jao-afio-trisect)
(defun jao-bisect ()
(interactive)