From 8f2b3cb683c3b93066989c953c031ed771489294 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 27 Jan 2020 19:22:30 -0500 Subject: emacs: smart-mode-line: don't make fixed-width fills this bothered me forever. it's *super* annoying on low-resolution screens, especially with horizontal splits (side by side) where the effective width of the mode-line for each window is considerably smaller than the display's width --- .emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 95b1f87..1d71471 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1560,6 +1560,8 @@ This function is intended for use with `ivy-ignore-buffers'." :commands (sml/apply-theme) :demand :config + ;; thanks, but no thnaks; don't make fixed-width fills. + (defun sml/fill-for-buffer-identification () "") (setq sml/theme 'tangomod) (sml/setup) (smart-mode-line-enable)) -- cgit v1.2.3-60-g2f50