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

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

bug#23719: [PATCH] Automatically detect whether .h file is C or C++


From: Michal Nazarewicz
Subject: bug#23719: [PATCH] Automatically detect whether .h file is C or C++
Date: Wed, 15 Jun 2016 18:26:48 +0200
User-agent: Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu)

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»





reply via email to

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