On Wed, 07 Dec 2011 14:43:00 +0100 Marco Marongiu <brontoli...@gmail.com> wrote:
MM> The bad ones: as soon as I did it, font-locking broke. The following MM> error appears in the *Messages* window: >> Error during redisplay: (void-variable font-lock-constant-name-face) MM> Now class names are black as normal text (they were kind of purple). MM> It was OK when I loaded the file unchanged, and stayed OK when I MM> indented the first parameters hitting TAB. When I reindented all with MM> indent-region, font-lock broke. I restarted emacs, and it was still MM> broken, so I assume that there is something in the new indentation that MM> breaks font-lock. I believe the attached version fixes it. It also renames `cfengine3-parameters-indent' to `cfengine-parameters-indent' so please adjust your configuration accordingly. I provided examples in the variable docstring of what it does. All the other changes are internal. Ted
cfengine.el
Description: application/emacs-lisp
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine