mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Minor fix for fancy-narrow-mode.
This commit is contained in:
parent
5f028129be
commit
2812a96c40
1 changed files with 4 additions and 5 deletions
|
@ -51,7 +51,6 @@
|
|||
(defvar evil-ex-active-highlights-alist)
|
||||
(defvar evil-ex-argument)
|
||||
(defvar evil-ex-range)
|
||||
(defvar evil-local-mode)
|
||||
(defvar evil-mc-frozen)
|
||||
(defvar evil-state)
|
||||
(defvar evil-visual-beginning)
|
||||
|
@ -63,16 +62,15 @@
|
|||
(defvar flymake--backend-state)
|
||||
(defvar flymake--mode-line-format)
|
||||
(defvar flymake-menu)
|
||||
(defvar iedit-mode)
|
||||
(defvar iedit-occurrences-overlays)
|
||||
(defvar mc/mode-line)
|
||||
(defvar minions-mode)
|
||||
(defvar minions-mode-line-lighter)
|
||||
(defvar mu4e-alert-mode-line)
|
||||
(defvar mu4e-alert-modeline-formatter)
|
||||
(defvar nyan-minimum-window-width)
|
||||
(defvar objed--object)
|
||||
(defvar objed--obj-state)
|
||||
(defvar objed--object)
|
||||
(defvar objed-modeline-setup-func)
|
||||
(defvar persp-nil-name)
|
||||
(defvar symbol-overlay-keywords-alist)
|
||||
(defvar symbol-overlay-temp-symbol)
|
||||
|
@ -118,6 +116,7 @@
|
|||
(declare-function evil-state-property 'evil-common)
|
||||
(declare-function evil-visual-state-p 'evil-states)
|
||||
(declare-function eyebrowse--get 'eyebrowse)
|
||||
(declare-function fancy-narrow-active-p 'fancy-narrow)
|
||||
(declare-function fancy-narrow-to-region 'fancy-narrow)
|
||||
(declare-function fancy-widen 'fancy-narrow)
|
||||
(declare-function flycheck-buffer 'flycheck)
|
||||
|
@ -268,7 +267,7 @@ Uses `all-the-icons-material' to fetch the icon."
|
|||
"!"
|
||||
'doom-modeline-urgent))
|
||||
((or (buffer-narrowed-p)
|
||||
(and (fboundp 'fancy-narrow-active-p)
|
||||
(and (bound-and-true-p fancy-narrow-mode)
|
||||
(fancy-narrow-active-p)))
|
||||
(doom-modeline-buffer-file-state-icon
|
||||
"vertical_align_center"
|
||||
|
|
Loading…
Reference in a new issue