Properly encapsulate byte-compiler declarations
This commit is contained in:
parent
b2172c52c8
commit
51318ef090
@ -35,7 +35,7 @@
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; Compile time requirements
|
||||
;; Required features
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(eval-when-compile
|
||||
@ -45,19 +45,19 @@
|
||||
;; External variable defs
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(defvar flycheck-current-errors)
|
||||
(eval-when-compile
|
||||
(defvar flycheck-current-errors))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; External function decls
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(declare-function mood-line--get-glyph "mood-line")
|
||||
|
||||
(declare-function flycheck-count-errors "flycheck")
|
||||
|
||||
(declare-function flymake-running-backends "flymake")
|
||||
(declare-function flymake-reporting-backends "flymake")
|
||||
(declare-function flymake--lookup-type-property "flymake")
|
||||
(eval-when-compile
|
||||
(declare-function mood-line--get-glyph "mood-line")
|
||||
(declare-function flycheck-count-errors "flycheck")
|
||||
(declare-function flymake-running-backends "flymake")
|
||||
(declare-function flymake-reporting-backends "flymake")
|
||||
(declare-function flymake--lookup-type-property "flymake"))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
|
@ -39,7 +39,8 @@
|
||||
;; External function decls
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(declare-function mood-line--get-glyph "mood-line")
|
||||
(eval-when-compile
|
||||
(declare-function mood-line--get-glyph "mood-line"))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
|
@ -38,7 +38,8 @@
|
||||
;; External function decls
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(declare-function mood-line--get-glyph "mood-line")
|
||||
(eval-when-compile
|
||||
(declare-function mood-line--get-glyph "mood-line"))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
|
17
mood-line.el
17
mood-line.el
@ -52,7 +52,7 @@
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; Compile time requirements
|
||||
;; Required features
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(eval-when-compile
|
||||
@ -62,18 +62,19 @@
|
||||
;; External variable defs
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(defvar anzu--cached-count)
|
||||
(defvar anzu--current-position)
|
||||
(defvar anzu--overflow-p)
|
||||
(defvar anzu--total-matched)
|
||||
(eval-when-compile
|
||||
(defvar anzu--cached-count)
|
||||
(defvar anzu--current-position)
|
||||
(defvar anzu--overflow-p)
|
||||
(defvar anzu--total-matched))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; External function decls
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(declare-function mc/num-cursors "multiple-cursors")
|
||||
|
||||
(declare-function string-blank-p "subr-x")
|
||||
(eval-when-compile
|
||||
(declare-function mc/num-cursors "multiple-cursors")
|
||||
(declare-function string-blank-p "subr-x"))
|
||||
|
||||
;; -------------------------------------------------------------------------- ;;
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user