eyeinsky / org-anki

Sync org notes to Anki via AnkiConnect
BSD 3-Clause "New" or "Revised" License
180 stars 28 forks source link

Unused lexical variables #70

Closed Elilif closed 1 year ago

Elilif commented 1 year ago

There are some compiler warnings:

In org-anki--string-to-anki-mathjax:
org-anki.el:183:10: Warning: Unused lexical variable ‘matched’

In org-anki--handle-pair:
org-anki.el:447:33: Warning: Unused lexical variable ‘&rest’

In org-anki--sync-notes:
org-anki.el:547:21: Warning: ‘message’ called with 1 args to fill 0 format field(s)
org-anki.el:550:30: Warning: Unused lexical argument ‘the-result’

In org-anki-browse-entry:
org-anki.el:677:17: Warning: Unused lexical argument ‘the-result’

In org-anki-import-deck:
org-anki.el:760:45: Warning: Unused lexical argument ‘buffer’

Maybe we need to add an underscore before these arguments or somether else?

eyeinsky commented 1 year ago

Same here b9a6ec16696a79c319131b8d683d4caae0be90d6