help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Annoying "Parsing...done" message when editing C++ files


From: Stefan Monnier
Subject: Re: Annoying "Parsing...done" message when editing C++ files
Date: Wed, 02 Nov 2016 13:25:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> (with-eval-after-load 'cpp
>   (advice-add 'cpp-highlight-buffer :around
>               #'my-cpp-highlight-buffer-advice))

You shouldn't need to wrap this in `with-eval-after-load`:
`advice-add` is careful to preserve the advice across (re)definition of
the function.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]