lang/nim: fix wrong-number-of-args error

Meant to use advice-add, not advice-remove
This commit is contained in:
Henrik Lissner 2018-08-31 16:07:33 +02:00
parent 55d4cbd314
commit 0b64bc004f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -29,7 +29,7 @@ characters that are illegal on Windows, causing invalid argument errors when
character that colon is replaced with, which is known to cause issues on character that colon is replaced with, which is known to cause issues on
windows." windows."
(replace-regexp-in-string "[* |<>\"?*]" "" path)) (replace-regexp-in-string "[* |<>\"?*]" "" path))
(advice-remove #'nimsuggest--get-temp-file-name :filter-return #'doom*nimsuggest--get-temp-file-name)) (advice-add #'nimsuggest--get-temp-file-name :filter-return #'doom*nimsuggest--get-temp-file-name))
(map! :map nim-mode-map (map! :map nim-mode-map
:localleader :localleader