mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Fix #80: Errors without symbol-overlay.
This commit is contained in:
parent
14d2e84b68
commit
9537876af0
1 changed files with 4 additions and 2 deletions
|
@ -188,7 +188,8 @@ It returns a file name which can be used directly as argument of
|
|||
(defvar mc/mode-line)
|
||||
(defvar minions-mode)
|
||||
(defvar minions-mode-line-lighter)
|
||||
(defvar symbol-overlay-mode)
|
||||
(defvar symbol-overlay-keywords-alist)
|
||||
(defvar symbol-overlay-temp-symbol)
|
||||
(defvar text-scale-mode-amount)
|
||||
(defvar winum-auto-setup-mode-line)
|
||||
(defvar xah-fly-insert-state-q)
|
||||
|
@ -1205,7 +1206,8 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
|||
|
||||
(defsubst doom-modeline--symbol-overlay ()
|
||||
"Show the number of matches for symbol overlay."
|
||||
(when (and (bound-and-true-p symbol-overlay-mode)
|
||||
(when (and (and (bound-and-true-p symbol-overlay-keywords-alist)
|
||||
- (not (bound-and-true-p symbol-overlay-temp-symbol))
|
||||
(not (bound-and-true-p iedit-mode)))
|
||||
(let* ((keyword (symbol-overlay-assoc
|
||||
(ignore-errors (symbol-overlay-get-symbol))))
|
||||
|
|
Loading…
Reference in a new issue