From f73550e9bf53327d8bcdeaff7850bfafd25267a3 Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Thu, 21 Apr 2016 08:25:17 -0500 Subject: [PATCH] Fix some byte-compiler warnings --- mode-icons.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mode-icons.el b/mode-icons.el index 3a3dc57..1b3af37 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -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.