Closed rranelli closed 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.
alchemist-scope-aliases
{}
See test/alchemist-scope-test.el for a failing test case.
test/alchemist-scope-test.el
That happened because both searches where happening inside the same save-excursion block.
save-excursion
This commit fixes that bug and now allows aliases declared in both ways to be mixed in any order.
Great! Thanks @rranelli 👍
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.