A GNU/Emacs minor mode that highlights s-exp at the current position.
Emacs Lisp
Switch branches/tags
Nothing to show
Latest commit 403f32f Jun 11, 2014 @daimrod daimrod * highlight-sexp.el: Be package.el compliant
- add version
- add keywords
- add URL
- add autoload markers


Highlight s-exp

Highlight-sexp-mode is a minor mode for GNU/Emacs that highlights the s-exp at the current position.

This this heavily inspired by highlight-parentheses-mode which highlights all parentheses but not the s-exp.

Installation and configuration

(load "path-to-highlight.el")
(require 'highlight-sexp)
(add-hook 'lisp-mode-hook 'highlight-sexp-mode)
(add-hook 'emacs-lisp-mode-hook 'highlight-sexp-mode)


The following variables are available for customization:

  • hl-sexp-background-color
  • hl-sexp-foreground-color
  • hl-sexp-face