Please sign in to comment.
Right, fixed some battle-testing bugs. The main issue is when/how oft…
…en the function to determine the backend gets called; since it was being called from the history buffer as well, the algorithm looking at the current working directory etc was seeing a different value from when it was first invoked. I think the long term solution is to pass the backend through to any function that uses it, rather than working it out internally -- this is more referentially-transparent anyway, we just need to make sure that we don't thread too much state through and flood the api. The other fix involved setting a buffer-local variable with the value of the backend, and using that later.
- Loading branch information...