Add CFEngine 3 ElDoc, completion, and compilation glue to cf-promises.
commit7e26a6c339371c348dfda84ea7314c2148572b09
authorTed Zlatanov <tzz@lifelogs.com>
Sat, 16 Nov 2013 22:36:14 +0000 (16 17:36 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Sat, 16 Nov 2013 22:36:14 +0000 (16 17:36 -0500)
treef519c8ee23ea7d98908644541b3af9b3154d5673
parent86eaab89204363fff25788586e49d050b102bcda
Add CFEngine 3 ElDoc, completion, and compilation glue to cf-promises.

* progmodes/cfengine.el: Version bump.
(cfengine-cf-promises): New defcustom to locate cf-promises.
(cfengine3-vartypes): Add new "data" type.
(cfengine3--current-word): New function to get current name-like
word or its bounds.
(cfengine3--current-function): New function to look up a CFEngine
function's definition.
(cfengine3-format-function-docstring): New function.
(cfengine3-make-syntax-cache): New function.
(cfengine3-documentation-function): New function: ElDoc glue.
(cfengine3-completion-function): New function: completion glue.
(cfengine3-mode): Set `compile-command',
`eldoc-documentation-function', and add to
`completion-at-point-functions'.
lisp/ChangeLog
lisp/progmodes/cfengine.el