diff options
| author | Fredrik Bergroth <fbergroth@gmail.com> | 2017-11-15 10:13:25 +0100 |
|---|---|---|
| committer | James N <james@jojojames.com> | 2017-11-15 18:43:58 -0800 |
| commit | b1f3c4288c2cf81404bb067a8b444db287c291b2 (patch) | |
| tree | 8957db2cd83f8331db6a6992e6b321854fb05d08 | |
| parent | a4d3719e4f692e99df4f8f289e76df09f111a637 (diff) | |
Forward declare mode-maps
| -rw-r--r-- | evil-company.el | 3 | ||||
| -rw-r--r-- | evil-emms.el | 3 | ||||
| -rw-r--r-- | evil-flycheck.el | 2 | ||||
| -rw-r--r-- | evil-ggtags.el | 5 | ||||
| -rw-r--r-- | evil-helm.el | 4 | ||||
| -rw-r--r-- | evil-p4.el | 2 | ||||
| -rw-r--r-- | evil-pass.el | 2 | ||||
| -rw-r--r-- | evil-slime.el | 3 | ||||
| -rw-r--r-- | evil-vlf.el | 2 |
9 files changed, 26 insertions, 0 deletions
diff --git a/evil-company.el b/evil-company.el index 5ac383d..97121a0 100644 --- a/evil-company.el +++ b/evil-company.el @@ -30,6 +30,9 @@ (require 'company nil t) (require 'evil) +(defvar company-active-map) +(defvar company-search-map) + (defun evil-company-setup () (define-key company-active-map (kbd "C-n") #'company-select-next-or-abort) (define-key company-active-map (kbd "C-p") #'company-select-previous-or-abort) diff --git a/evil-emms.el b/evil-emms.el index ad7e1fd..394837c 100644 --- a/evil-emms.el +++ b/evil-emms.el @@ -30,6 +30,9 @@ (require 'emms nil t) (require 'evil) +(defvar emms-browser-mode-map) +(defvar emms-playlist-mode-map) + ;;; TODO: Make all playback bindings consistent across modes: ;;; - stop ;;; - pause diff --git a/evil-flycheck.el b/evil-flycheck.el index b099b59..0155e21 100644 --- a/evil-flycheck.el +++ b/evil-flycheck.el @@ -30,6 +30,8 @@ (require 'evil-collection-util) (require 'flycheck nil t) +(defvar flycheck-error-list-mode-map) + (defun evil-flycheck-setup () (+evilify-map flycheck-error-list-mode-map diff --git a/evil-ggtags.el b/evil-ggtags.el index e3eacac..56d8065 100644 --- a/evil-ggtags.el +++ b/evil-ggtags.el @@ -30,6 +30,11 @@ (require 'evil-collection-util) (require 'ggtags nil t) +(defvar ggtags-global-mode-map) +(defvar ggtags-view-search-history-mode-map) +(defvar ggtags-view-tag-history-mode-map) +(defvar ggtags-navigation-map) + (defun evil-ggtags-setup () (+evilify-map ggtags-global-mode-map diff --git a/evil-helm.el b/evil-helm.el index 26fb694..7323848 100644 --- a/evil-helm.el +++ b/evil-helm.el @@ -38,6 +38,10 @@ ;; down the file system hierarchy since we need them to use it to edit the ;; minibuffer content. +(defvar helm-map) +(defvar helm-find-files-map) +(defvar helm-read-file-map) + (defun evil-helm-setup () ;; TODO: We should not modify helm-map in Emacs state but somehow it does not ;; work otherwise. @@ -30,6 +30,8 @@ (require 'evil-collection-util) (require 'p4 nil t) +(defvar p4-basic-mode-map) + (defun evil-p4-setup () (+evilify-map p4-basic-mode-map diff --git a/evil-pass.el b/evil-pass.el index 6ef8961..f5d543d 100644 --- a/evil-pass.el +++ b/evil-pass.el @@ -30,6 +30,8 @@ (require 'evil-collection-util) (require 'pass nil t) +(defvar pass-mode-map) + (defun evil-pass-setup () (+evilify-map pass-mode-map diff --git a/evil-slime.el b/evil-slime.el index 43488ab..3aba0ac 100644 --- a/evil-slime.el +++ b/evil-slime.el @@ -30,6 +30,9 @@ (require 'evil-collection-util) (require 'slime nil t) +(defvar sldb-mode-map) +(defvar slime-inspector-mode-map) + (defun evil-slime-setup () (+evilify-map sldb-mode-map diff --git a/evil-vlf.el b/evil-vlf.el index 1eb1a7f..cbdf5fd 100644 --- a/evil-vlf.el +++ b/evil-vlf.el @@ -30,6 +30,8 @@ (require 'evil-collection-util) (require 'vlf nil t) +(defvar vlf-mode-map) + ;;; Code: (defun evil-vlf-setup () (+evilify-map |
