pythonic-emacs / anaconda-mode

Code navigation, documentation lookup and completion for Python.
GNU General Public License v3.0
706 stars 87 forks source link

Fix #429: fix the previous PR (#429) to work with Emacs versions < 29 #431

Closed dalanicolai closed 1 year ago

dalanicolai commented 1 year ago

PR #429 uses seq.el which is only included from Emacs version 29. To not break signatures in Emacs versions < 29 this PR replaces seq-map with cl-map.

For completeness/clarity, I have explicitly added a (require cl-lib), despite it is already required by pythonic.

dakra commented 1 year ago

Thanks. I only tested in quick on my Emacs 30 so the linter/byte-compiler didn't complain there. Maybe we should use the compat library in the future. Makes such things easier :)