tonini / alchemist.el

Elixir Tooling Integration Into Emacs
http://www.alchemist-elixir.org
906 stars 103 forks source link

Bugfix: Handle aliases with `{}` notation in mixed order #277

Closed rranelli closed 7 years ago

rranelli commented 7 years ago

Previously alchemist-scope-aliases would only recognize all aliases when the ones declared with the {} where declared strictly before the normal ones.

See test/alchemist-scope-test.el for a failing test case.

That happened because both searches where happening inside the same save-excursion block.

This commit fixes that bug and now allows aliases declared in both ways to be mixed in any order.

tonini commented 7 years ago

Great! Thanks @rranelli 👍