From: Amin Bandali Date: Tue, 28 Jan 2020 00:22:30 +0000 (-0500) Subject: emacs: smart-mode-line: don't make fixed-width fills X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8f2b3cb683c3b93066989c953c031ed771489294 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 --- 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))