diff options
-rw-r--r-- | modeline.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modeline.el b/modeline.el index 49ad135..2a0ca37 100644 --- a/modeline.el +++ b/modeline.el @@ -308,7 +308,7 @@ MAP is the local keymap of the text." mode-line-column-line-number-mode-map)) ;;;###autoload -(defvar modeline-minor-modes-name-len-max 150 +(defvar modeline-minor-modes-name-len-max 20 "The maximal length for the display of minor modes in the mode line.") ;;;###autoload @@ -324,7 +324,8 @@ MAP is the local keymap of the text." ('mode-line-inactive)))) (orig (cond ((and (not (string= raw "")) - (= (aref raw 0) 32)) (substring raw 1)) + (= (aref raw 0) 32)) + (substring raw 1)) (raw)))) (cond ((<= (length orig) modeline-minor-modes-name-len-max) |