emacs - How do I replace compile-internal with compilation start? -
i use valgrind.el run valgrind inside emacs. newest version of emacs has deprecated compile-internal. don't know enough elisp figure out how convert compile-internal call compilation-start call. original function call in question looks like:
(compile-internal command "no more errors" "valgrind") i found bit online indicates possible usage of compilation-start:
(compilation-start command mode #'(lambda (mode-name) (concat "*" buf-name "*"))) any appreciated!
i not sure tried , results were.
as per documentation, replace compile internal line by:
(compilation-start command nil (lambda (mode-name) "*valgrind*"))
Comments
Post a Comment