diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/acdw-modeline.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/acdw-modeline.el b/lisp/acdw-modeline.el index 7eca143..81b808d 100644 --- a/lisp/acdw-modeline.el +++ b/lisp/acdw-modeline.el | |||
@@ -88,4 +88,9 @@ indicator in the mode-line." | |||
88 | (if-let ((backend (vc-backend buffer-file-name))) | 88 | (if-let ((backend (vc-backend buffer-file-name))) |
89 | (substring vc-mode (+ (if (eq backend 'Hg) 2 3) 2)))) | 89 | (substring vc-mode (+ (if (eq backend 'Hg) 2 3) 2)))) |
90 | 90 | ||
91 | (defun acdw-modeline/winum () | ||
92 | (when (and (bound-and-true-p winum-mode) | ||
93 | (> winum--window-count 1)) | ||
94 | (format winum-format (winum-get-number-string)))) | ||
95 | |||
91 | (provide 'acdw-modeline) | 96 | (provide 'acdw-modeline) |