davidmiller / pony-mode

Django mode for emacs
Other
149 stars 32 forks source link

Do not use .ponyrc but .dir-locals.el #10

Closed semente closed 12 years ago

semente commented 13 years ago

Emacs already provide a directory based configuration. Currently I have to keep both (.dir-locals.el and .ponyrc).

.dir-locals.el example:

((nil . ((pony-mode . t)
         (pony-python-command . "/path/to/python"))))
davidmiller commented 13 years ago

Wasn't aware of dir-locals when I added that functionality - agreed it would certainly make sense to configure there...

davidmiller commented 12 years ago

I've been happily using this for months - possibly needs better documentation, but that's a separate issue.