Silence compiler warnings

This commit is contained in:
Pierre Neidhardt 2018-02-25 16:43:08 +01:00
parent cdfb85186b
commit cec6ec72cd
10 changed files with 29 additions and 0 deletions

View File

@ -29,6 +29,8 @@
(require 'evil)
(require 'calc)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-calc-ext-setup ()
"Set up `evil' bindings for `calc'.
Since calc bindings are set on-demand when calc-ext is load, we

View File

@ -30,6 +30,10 @@
(require 'elfeed nil t)
(require 'evil)
(defvar elfeed-search-mode-map)
(defvar elfeed-show-mode-map)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-elfeed-setup ()
"Set up `evil' bindings for `elfeed'."

View File

@ -32,6 +32,7 @@
(declare-function emms-with-inhibit-read-only-t "emms")
(declare-function emms-playlist-mode-correct-previous-yank "emms-playlist-mode")
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defvar emms-browser-mode-map)
(defvar emms-playlist-mode-map)

View File

@ -30,6 +30,8 @@
(require 'eww)
(require 'evil)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-eww-setup ()
"Set up `evil' bindings for `eww'."

View File

@ -41,6 +41,8 @@
(defvar helm-map)
(defvar helm-find-files-map)
(defvar helm-read-file-map)
(defvar helm-echo-input-in-header-line)
(defvar helm--prompt)
;; From https://github.com/emacs-helm/helm/issues/362.
;; Also see https://emacs.stackexchange.com/questions/17058/change-cursor-type-in-helm-header-line#17097.

View File

@ -32,6 +32,8 @@
(require 'evil-collection-evil-search)
(require 'info)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-info-setup ()
"Set up `evil' bindings for `info-mode'."
(evil-collection-inhibit-insert-state Info-mode-map)

View File

@ -34,6 +34,10 @@
(declare-function pdf-view-last-page "pdf-view")
(declare-function pdf-view-first-page "pdf-view")
(declare-function pdf-view-goto-page "pdf-view")
(defvar pdf-view-mode-map)
(defvar pdf-outline-buffer-mode-map)
(defvar pdf-occur-buffer-mode-map)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-pdf-view-goto-page (&optional page)
"`evil' wrapper around `pdf-view-last-page'."

View File

@ -30,6 +30,8 @@
(require 'evil)
(require 'proced)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-proced-setup ()
"Set up `evil' bindings for `proced'."
(evil-collection-inhibit-insert-state proced-mode-map)

View File

@ -31,6 +31,12 @@
(require 'evil)
(require 'transmission nil t)
(defvar transmission-mode-map)
(defvar transmission-files-mode-map)
(defvar transmission-info-mode-map)
(defvar transmission-peers-mode-map)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defun evil-collection-transmission-setup ()
"Set up `evil' bindings for `transmission'."

View File

@ -29,6 +29,10 @@
(require 'evil)
(require 'ztree nil t)
(declare-function evil-collection-inhibit-insert-state "evil-collection")
(defvar ztree-mode-map)
(defvar ztreediff-mode-map)
(defun evil-collection-ztree-setup ()
"Set up `evil' bindings for `ztree'."