dylan-lang / dylan-emacs-support

Emacs mode for indenting and highlighting Dylan code
GNU General Public License v2.0
27 stars 8 forks source link

Fix font locking for issue #9. #10

Closed erikcharlebois closed 11 years ago

erikcharlebois commented 11 years ago

Makes it so that let foo-bar highlights foo-bar as a variable name rather than just foo.

This change also changes the face for slot names to always be font-lock-variable-name-face; there was a conflict with another font lock rule (variable :: type) where if the slot had a type, it would use -variable-name-face, but if not it would use -function-name-face.

Fixes #9.

Signed-off-by: Erik Charlebois erikcharlebois@gmail.com