[erlang-questions] -define(NAME, File)?

Wes James <>
Mon Nov 7 18:10:18 CET 2011


Is there a way to -define a file instead of just a string (for my case)

I would like to edit javascript, css, html files outside of some .erl
applications, but I have to do:

-define(NAME,"
javascript text
or
css text").

but then when I edit in emacs the " " pair makes emacs think the whole
section is just a giant text chunk and so html/css/javascript specific
hi-lighting, indenting does not work right.  Is there a way to -define
a file that I've missed info about somewhere?

Thanks,

-wes



More information about the erlang-questions mailing list