mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-12-26 06:28:04 +01:00
Fix some byte-compiler warnings
This commit is contained in:
parent
7a12fb28d2
commit
f73550e9bf
1 changed files with 9 additions and 1 deletions
|
@ -63,6 +63,15 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(declare-function comint-send-string "comint")
|
||||
(declare-function emojify-set-emoji-data "emojify")
|
||||
(declare-function ht-get "ht")
|
||||
(declare-function powerline-minor-modes "powerline")
|
||||
(declare-function powerline-raw "powerline-raw")
|
||||
|
||||
(declare-function mode-icons--real-powerline-major-mode "powerline")
|
||||
(declare-function mode-icons--powerline-major-mode "mode-icons")
|
||||
|
||||
(require 'cl-lib)
|
||||
(require 'color)
|
||||
(require 'emojify nil t)
|
||||
|
@ -1710,7 +1719,6 @@ saved in `mode-icons--real-powerline-minor-modes'."
|
|||
(if mode-icons-mode
|
||||
(mode-icons--generate-minor-mode-list face)
|
||||
(mode-icons--real-powerline-minor-modes face pad)))
|
||||
(declare-function mode-icons--real-powerline-major-mode "powerline")
|
||||
(fset 'mode-icons--real-powerline-major-mode #'powerline-minor-modes)
|
||||
(defun mode-icons--powerline-major-mode (&optional face pad)
|
||||
"Powerline major modes is replaced by this function.
|
||||
|
|
Loading…
Reference in a new issue