abo-abo / auto-yasnippet

quickly create disposable yasnippets
245 stars 15 forks source link

Multiple warnings during compilation #40

Open wyuenho opened 2 years ago

wyuenho commented 2 years ago
In aya-create-one-line:
auto-yasnippet.el:420:9: Warning: reference to free variable ‘aya-marker-one-line’

In aya-expand-from-history:
auto-yasnippet.el:500:4: Warning: value returned from (> (length aya-history) (user-error "Nothing in aya-history to expand")) is unused

In aya-next-in-history:
auto-yasnippet.el:568:46: Warning: Unused lexical variable `current'

In aya-persist-snippet-from-history:
auto-yasnippet.el:712:4: Warning: malformed interactive specc: (interactive (if (> (length aya-history) 0) nil (user-error "You don't have any snippets in history")) (list (completing-read "Select Snippet: " aya-history) (read-string "Snippet name: ")))
jasonm23 commented 2 years ago

Please submit a PR to fix

Thank you