Skip to content
Syntax highlighting for Emacs' cl-lib.
Emacs Lisp
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add .gitignore. Jan 23, 2014 Update note about official Emacs support Feb 10, 2020
UNLICENSE Initial commit. Sep 11, 2013
cl-lib-highlight.el Add note about being obsolete Feb 10, 2020

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.


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.


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.

You can’t perform that action at this time.