/cl-lib-highlight

Syntax highlighting for Emacs' cl-lib.

Primary LanguageEmacs LispThe UnlicenseUnlicense

cl-lib highlighting

This package is obsolete in Emacs 24.4 and later.

This library adds all of the familiar highlighting to cl-lib macros (cl-defun, cl-loop, etc.) that were originally provided for cl.

It's not simply throwing in all the symbols as keywords. They're being added using the same regular expressions that cl gets, so function names get highlighted with cl-defun, type names get highlighted with cl-defstruct, etc.

Usage

Load this library and run cl-lib-highlight-initialize.

If you want to mark out the old cl functions with a warning face, also run cl-lib-highlight-warn-cl-initialize.

Motivation

I think cl-lib was a mistake, but since it's here it needs to be well-supported. The Emacs devs have chosen to exclude cl-lib font-locking so it must be supported through a library.