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: John Mastro
Subject: Re: Annoying "Parsing...done" message when editing C++ files
Date: Wed, 2 Nov 2016 10:19:28 -0700

Hong Xu <address@hidden> wrote:
>
> Is it possible to remove the annoying "Parsing...done" message in C++
> mode? It often competes with other useful information I've set up.
>
> I saw this line in progmodes/cpp.el, but don't know how to diminish it:
>
>      (message "Parsing...done"))

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

        John



reply via email to

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