Commit Graph

17 Commits

Author SHA1 Message Date
James Nguyen 04268dcadc Remove .el in declare-function 2018-06-08 10:32:02 -07:00
James Nguyen 36f56362cc Add declare-functions for evil-collection-define-key
Adding for byte compiling.

TODO: Should look into doing an import instead since we shouldn't need
to declare a function that our library should know about.

I think there was some circular dependency around evil-collection-*
requiring evil-collection.el so I went with the quick and dirty
approach of doing a declare-function. If someone has a better idea,
feel free to change this!
2018-06-08 10:18:17 -07:00
Justin Burkett 29759c9419 Remove package arg from evil-collection-define-key
Implement version of evil-define-key instead. The bindings are made immediately
if the map is available. Otherwise, there are lazily made in the same way that
evil-define-key makes them.
2018-06-08 09:52:15 -07:00
Justin Burkett 0e7698dd1a Add support for {white,black}lists and binding records
Add and use evil-collection-define-key, which is a custom keybinding function
that checks evil-collection-key-{white,black}list before binding each key and
stores a record of the keybindings in evil-collection-bindings-record.

Modify evil-collection-util-inhibit-insert-state to conform to
evil-collection-define-key.
2018-06-08 09:52:15 -07:00
James Nguyen 9fc1a19807 Match package prefix 2018-03-06 18:06:04 -08:00
James Nguyen 24088eddcb Move macro to util file 2018-03-06 17:58:57 -08:00
James Nguyen df5d161017 Clean up evil-collection-util 2017-12-09 08:00:24 -08:00
James Nguyen 4ffc42d578 Remove evilified-state macro 2017-12-09 08:00:19 -08:00
James Nguyen 9eb7d3db0d Change namespace to evil-collection 2017-12-06 17:50:37 -08:00
James Nguyen 5b7655cb6e Don't explicitly bind help-command 2017-11-19 10:05:00 -08:00
James Nguyen 1771414cca Evilified: Change names to make package-lint happy 2017-11-16 18:20:28 -08:00
James Nguyen f86ec8005b Namespace functions 2017-11-16 18:05:37 -08:00
Fredrik Bergroth ba60c856b4 Fix naming reported by package-lint 2017-11-16 00:08:40 -08:00
James Nguyen 7254162173 Move from +evil-bind-key to evil-define-key 2017-11-14 10:23:46 -08:00
Pierre Neidhardt 4733d53646 Normalize the documentation headers (#12) 2017-11-07 11:04:12 +01:00
Pierre Neidhardt 9d615fd677 Remove autoload cookies for setup functions 2017-11-07 09:11:14 +01:00
James Nguyen e4d6645ff0 Add util file
Ported from evil-integrations evil-integration-base
2017-11-05 08:53:13 -08:00