Subject: Re: [PATCH] Automatically detect whether .h file is C or C++

From: Michal Nazarewicz <[email-masked]>
Date: Wed, 15 Jun 2016 18:26:48 +0200

On Tue, Jun 07 2016, Michal Nazarewicz wrote:
> * lisp/progmodes/cc-mode.el (c-or-c++-mode): A new function which
> analyses contents of the buffer to determine whether it looks like C++
> source code and based on that enables c-mode or c++-mode.
> (c-or-c++-mode--regexp): Regular expression which, when matches
> a buffer, signals file is C++.

Since there seem to be no objections to this patch, I’ve committed it.

-- 
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»