hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
191 stars 47 forks source link

Fix: hy-jedhy-update-imports fails when commented out import exists #83

Closed masatoi closed 5 years ago

masatoi commented 5 years ago

Hi, I fixed a small bug.

When commented out import exists in current file, hy-jedhy-update-imports fails because of (hy--current-form-string) returns nil.

ekaschalk commented 5 years ago

Thanks for the PR.