diff options
| author | Eivind Fonn <evfonn@gmail.com> | 2019-12-11 23:09:19 +0100 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2019-12-19 14:52:36 +0100 |
| commit | 9b411da84e7c3a4fe753cc59f709cee596c06432 (patch) | |
| tree | 594cc341f3b35e9172c19787b171fd62ca8b14c5 /doc/source/internals.rst | |
| parent | 177d72c4d1ba57e69721f5279f0b0a874624e767 (diff) | |
Use sphinx for documentation
Diffstat (limited to 'doc/source/internals.rst')
| -rw-r--r-- | doc/source/internals.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/source/internals.rst b/doc/source/internals.rst new file mode 100644 index 0000000..9984f7c --- /dev/null +++ b/doc/source/internals.rst @@ -0,0 +1,36 @@ +Internals +========= + +Command properties +------------------ + +Evil defines *command properties* to store information about commands +[#command]_, such as whether they should be repeated. A command +property is a ``:keyword`` with an associated value, e.g. +``:repeat nil``. + +.. elisp:autofunction:: evil-add-command-properties + +.. elisp:autofunction:: evil-set-command-properties + +.. elisp:autofunction:: evil-get-command-properties + +.. elisp:autofunction:: evil-get-command-property + +.. elisp:autofunction:: evil-define-command + + +For setting repeat properties, use the following functions: + +.. elisp:autofunction:: evil-declare-repeat + +.. elisp:autofunction:: evil-declare-not-repeat + +.. elisp:autofunction:: evil-declare-change-repeat + + +.. rubric:: Footnotes + +.. [#command] In this context, a *command* may mean any Evil motion, + text object, operator or indeed other Emacs commands, which have + not been defined through the Evil machinery. |
