mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Merge pull request #144 from netromdk/mc-matches
Show number of multiple cursors correctly
This commit is contained in:
commit
a496a3d84e
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
||||||
"Show the number of multiple cursors."
|
"Show the number of multiple cursors."
|
||||||
(cl-destructuring-bind (count . face)
|
(cl-destructuring-bind (count . face)
|
||||||
(cond ((bound-and-true-p multiple-cursors-mode)
|
(cond ((bound-and-true-p multiple-cursors-mode)
|
||||||
(cons (eval (cadadr mc/mode-line))
|
(cons (mc/num-cursors)
|
||||||
(if (doom-modeline--active)
|
(if (doom-modeline--active)
|
||||||
'doom-modeline-eldoc-bar
|
'doom-modeline-eldoc-bar
|
||||||
'mode-line-inactive)))
|
'mode-line-inactive)))
|
||||||
|
|
Loading…
Reference in a new issue