defunkt / coffee-mode

Emacs Major Mode for CoffeeScript
http://ozmm.org/posts/coffee_mode.html
574 stars 147 forks source link

Replace set-auto-mode with custom function #356

Closed marsam closed 8 years ago

marsam commented 8 years ago

Use a custom mode for showing the compiled javascript. Overwriting buffer-file-name can cause problems for other packages; for example, tern.el starts the server only with buffer-file-name is set, and coffee set it tmp.js which doesn't exists.