Closed bbbscarter closed 10 months ago
Please tell us below:
*Messages*
And describe your problem:
Running nimsuggest-mode immediately throws the following error:
Debugger entered--Lisp error: (invalid-function ((lambda nil (lwarn 'nim :debug "nimsuggest-mode started")))) ((lambda nil (lwarn 'nim :debug "nimsuggest-mode started")))((lambda nil (lwarn 'nim :debug "nimsuggest-mode started"))) nim-log("nimsuggest-mode started") nimsuggest-ensure() nimsuggest-mode(t)
This doesn't happen when the functions are re-evaluated locally. As such, I think this is because nim-log and nim-log-err aren't byte-compiling properly. Re-defining them as below fixes the problem, and simplifies them somewhat:
nim-log
nim-log-err
(cl-defun nim-log (&rest msg-and-rest) (apply #'lwarn 'nim :debug msg-and-rest)) (cl-defun nim-log-err (&rest msg-and-rest) (apply #'lwarn 'nim :error msg-and-rest))
Conforming Bugs
Please tell us below:
*Messages*
buffer? Yes.And describe your problem:
Running nimsuggest-mode immediately throws the following error:
This doesn't happen when the functions are re-evaluated locally. As such, I think this is because
nim-log
andnim-log-err
aren't byte-compiling properly. Re-defining them as below fixes the problem, and simplifies them somewhat: