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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -