jkitchin / ox-ipynb

org-mode exporter to Jupyter notebooks
173 stars 40 forks source link

compile error: ‘add-to-list’ can’t use lexical var ‘output-cells’ #4

Closed vapniks closed 6 years ago

vapniks commented 6 years ago

This is the error message that I get when compiling ox-ipynb.el using emacs 25.2.1:

In ox-ipynb-export-code-cell:
ox-ipynb.el:107:13:Error: ‘add-to-list’ can’t use lexical var ‘output-cells’;
    use ‘push’ or ‘cl-pushnew’
ox-ipynb.el:158:13:Error: ‘add-to-list’ can’t use lexical var ‘output-cells’;
    use ‘push’ or ‘cl-pushnew’
ox-ipynb.el:155:13:Error: ‘add-to-list’ can’t use lexical var ‘output-cells’;
    use ‘push’ or ‘cl-pushnew’
jkitchin commented 6 years ago

Thanks for reporting this. I pushed two fixes that should fix it.