necaris / conda.el

Emacs helper library (and minor mode) to work with conda environments
MIT License
153 stars 49 forks source link

void-variable prev-env in conda-with-env #76

Closed jonmoore closed 2 years ago

jonmoore commented 3 years ago

Calling functions using conda-with-env currently results in a void-variable error against prev-env.

To fix this, the name prev-env at https://github.com/necaris/conda.el/blob/9f7eea16e9ad3eb34fe3d1cbd9d6162b8046c2f8/conda.el#L373 should be renamed to prev-env-path, in line with the similar renamings in https://github.com/necaris/conda.el/commit/5dc78b55682e924c40501bfc00cc40f86e6661f7

necaris commented 3 years ago

@jonmoore thank you for the catch & the debugging! Looks like a really simple fix -- any interest in submitting a PR?