summaryrefslogtreecommitdiff
path: root/durand-bongo.el
diff options
context:
space:
mode:
Diffstat (limited to 'durand-bongo.el')
-rw-r--r--durand-bongo.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/durand-bongo.el b/durand-bongo.el
index 632a79e..b183fba 100644
--- a/durand-bongo.el
+++ b/durand-bongo.el
@@ -30,6 +30,16 @@
;;; Basic customizations
+;;;; No left fringes
+
+(defun durand-bongo-set-fringe ()
+ "Set the fringe to zero and redisplay window."
+ (setq left-fringe-width 0)
+ ;; set-window-buffer triggers redisplay of the window.
+ (set-window-buffer (selected-window) (current-buffer)))
+
+(add-hook 'bongo-playlist-mode-hook #'durand-bongo-set-fringe)
+
;;;; No electric modes
;; I just don't like those.