Dont use count-window globally
This commit is contained in:
parent
7cf7081d50
commit
2b3a9a5567
1 changed files with 1 additions and 1 deletions
2
init.el
2
init.el
|
@ -33,7 +33,7 @@
|
|||
(defun me/split-windows-horizontal ()
|
||||
; Split windows horizontal by equal width
|
||||
(interactive)
|
||||
(defvar count-windows 3)
|
||||
(setq count-windows 3)
|
||||
(delete-other-windows)
|
||||
(let ((width (/ (window-total-width) count-windows)))
|
||||
(setq count 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue