wolray / symbol-overlay

Highlight symbols with keymap-enabled overlays
346 stars 42 forks source link

Use recommended syntax for setting overlay face property #12

Closed purcell closed 7 years ago

purcell commented 7 years ago

See https://www.gnu.org/software/emacs/manual/html_node/elisp/Overlay-Properties.html#Overlay-Properties

The previous code was applying two anonymous faces, whereas this can instead be expressed as a single anonymous face.