clarete / hackernews.el

Hacker News client for Emacs
GNU General Public License v3.0
248 stars 26 forks source link

Port buttons to font-lock-mode #60

Closed basil-conto closed 5 years ago

basil-conto commented 5 years ago

Instead of having visited variants of each button type, associate each type with both a plain and a visited face, and pick between them as needed.

In addition to simplifying the code a little bit, this allows the user to toggle fontification with font-lock-mode.

Re: #33. Cc: @matthew-piziak

basil-conto commented 5 years ago

I intend to merge this within the week, if there are no comments before then.