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: Hong Xu
Subject: Re: Annoying "Parsing...done" message when editing C++ files
Date: Wed, 02 Nov 2016 16:36:05 -0700
User-agent: mu4e 0.9.17; emacs 25.1.50.8

On 2016-11-02 Wed 10:19 GMT-0700, John Mastro <john.b.mastro@gmail.com> wrote:
> Something like this should do the trick:
>
> (defun my-cpp-highlight-buffer-advice (orig &rest args)
>   (let ((inhibit-message t))
>     (apply orig args)))
>
> (with-eval-after-load 'cpp
>   (advice-add 'cpp-highlight-buffer :around
>               #'my-cpp-highlight-buffer-advice))
>
> Hope that helps
>

Thanks. FYI, I've submitted a patch to resolve this issue, which is
probably more elegant:

    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24861#17

Hong

Attachment: signature.asc
Description: PGP signature


reply via email to

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