diff options
author | Amin Bandali <mab@gnu.org> | 2020-01-27 19:22:30 -0500 |
---|---|---|
committer | Amin Bandali <mab@gnu.org> | 2020-01-27 19:25:30 -0500 |
commit | 8f2b3cb683c3b93066989c953c031ed771489294 (patch) | |
tree | eab9b5c003fe5c1d246a3ab8946fe23862898daa | |
parent | b1ed18e4b2d3de3d58b86ab025875ab84ed92bb2 (diff) | |
download | configs-8f2b3cb683c3b93066989c953c031ed771489294.tar.gz configs-8f2b3cb683c3b93066989c953c031ed771489294.tar.xz configs-8f2b3cb683c3b93066989c953c031ed771489294.zip |
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
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |