highlight a sentence in Emacs
Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md Update document Oct 18, 2017
hl-sentence.el Update document Oct 18, 2017

README.md

hl-sentence

Highlight sentences in Emacs with a custom face. Very nice.

preview

Customizing the Face

Highlighting is based on the hl-sentence face which you can customize to make the face look the way you want. I use this primarily in LaTeX mode where I enable variable-pitch-mode. So I customize my variable-pitch face foreground to be gray60 and then make hl-sentence be black. Works nicely.

Credit

This was taken mostly from http://www.emacswiki.org/emacs/SentenceHighlight

I believe Aaron Hawley is responsible. I just took it and made it a single file and to properly enable and disable the minor-mode.