문제

I use this valgrind.el to run valgrind inside emacs. But the newest version of emacs has deprecated compile-internal. I don't know nearly enough about elisp to figure out how to convert the compile-internal call to a compilation-start call. This is what the original function call in question looks like:

(compile-internal command "No more errors" "valgrind")

I found this bit online that indicates possible usage of compilation-start:

(compilation-start command mode
         #'(lambda (mode-name) (concat "*" buf-name "*")))

Any help would be appreciated!

도움이 되었습니까?

해결책

I am not sure about what you tried and what the results were.

As per the documentation, I would replace the compile internal line by:

(compilation-start command nil (lambda (mode-name) "*valgrind*"))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top