[submodule "solarized-emacs"]
path = solarized-emacs
url = https://github.com/bbatsov/solarized-emacs.git
+[submodule "pjb-emacs"]
+ path = pjb-emacs
+ url = https://github.com/informatimago/emacs.git
--- /dev/null
+Subproject commit 0de906e8f5f8297252c4b784dff2daf8df50c87f
(not (member name setup-my-windows-precious-buffers))) return w)
firstwindow))
(when (and distribute (> (length newtopwindows) 1))
- ;;(balance-windows)
- )
+ (pjb-balance-windows t))
(select-window newwindow)
(if (not (member (buffer-name currentbuffer) setup-my-windows-junk-buffers))
(switch-to-buffer currentbuffer))))
--- /dev/null
+(let ((pjb-libdir (concat (file-name-directory
+ (directory-file-name
+ (file-name-directory
+ (or load-file-name
+ (when (boundp 'bytecomp-filename) bytecomp-filename)
+ buffer-file-name))))
+ "pjb-emacs")))
+ (add-to-list 'load-path pjb-libdir)
+ (loop for feature in '(pjb-cl-magic pjb-sources pjb-strings pjb-list pjb-cl pjb-utilities)
+ do (require feature))
+ (load-file (concat (file-name-as-directory pjb-libdir) "pjb-emacs-balance-windows.el")))