From 528d21753fd3c336263c59280cfe0f940afcb76d Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 25 Dec 2022 13:30:59 +0800 Subject: bongo: eliminate some mysterious left fringe * durand-bongo.el (durand-bongo-set-fringe, bongo-playlist-mode-hook): This left fringe of width 40 just appears out of thin air, so I eliminate it in this function call, hooked into bongo-playlist-mode. --- durand-bongo.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'durand-bongo.el') 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. -- cgit v1.2.3-18-g5258