Created
January 25, 2014 18:47
-
-
Save oliverholworthy/8621372 to your computer and use it in GitHub Desktop.
Hook for bzg-big-fringe-mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Disable big fringe mode when more than one window open | |
;; http://bzg.fr/emacs-strip-tease.html | |
(add-hook 'window-configuration-change-hook | |
(lambda () | |
(if (> (count-windows) 1) | |
(bzg-big-fringe-mode 0) | |
(bzg-big-fringe-mode 1)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment