Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Syntax highlighting for Emacs' cl-lib.
Emacs Lisp
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore Add .gitignore.
README.md Fix the screenshot.
UNLICENSE Initial commit.
cl-lib-highlight.el Adjust identifier-matching regexps.

README.md

cl-lib highlighting

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.

Something went wrong with that request. Please try again.