nschum / highlight-symbol.el

Emacs: automatic and manual symbol highlighting
http://nschum.de/src/emacs/highlight-symbol/
274 stars 41 forks source link

Factored out next color, added color argument. #37

Closed tpapp closed 9 years ago

tpapp commented 9 years ago

Two minor changes:

  1. A color argument was added to HIGHLIGHT-SYMBOL-ADD-SYMBOL. This allows highlighting of certain symbols with given colors, eg in a hook when the file is opened.
  2. To simplify the code, made the selection of the next color a separate function.
nschum commented 9 years ago

Thank you. Looks good.