[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Include modern-cpp-font-lock into GNU Emacs
From: |
Noam Postavsky |
Subject: |
Re: Include modern-cpp-font-lock into GNU Emacs |
Date: |
Mon, 20 Aug 2018 06:51:29 -0400 |
On 20 August 2018 at 05:28, Jostein Kjønigsen
<address@hidden> wrote:
> Currently we can inspect "cc-mode version" by checking emacs-version, and
> dispatching compatible code based on that.
>
> With such a decoupling, this will no longer be possible, and we should find
> a new way to give third-party major-modes dependant on cc-mode to ensure
> compatibility.
>
> Maybe cc-mode should ship with its own programmatically accessible
> version-number to check against?
I think this already exists:
c-version is a variable defined in ‘cc-defs.el’.
Its value is "5.33.1"
This variable may be risky if used as a file-local variable.
Documentation:
CC Mode version number.
- Include modern-cpp-font-lock into GNU Emacs, Ludwig PACIFICI, 2018/08/06
- Re: Include modern-cpp-font-lock into GNU Emacs, Alan Mackenzie, 2018/08/11
- Re: Include modern-cpp-font-lock into GNU Emacs, Stefan Monnier, 2018/08/11
- Re: Include modern-cpp-font-lock into GNU Emacs, Ludwig PACIFICI, 2018/08/19
- Re: Include modern-cpp-font-lock into GNU Emacs, Stefan Monnier, 2018/08/19
- Re: Include modern-cpp-font-lock into GNU Emacs, Richard Stallman, 2018/08/19
- Re: Include modern-cpp-font-lock into GNU Emacs, Andy Moreton, 2018/08/20
- Re: Include modern-cpp-font-lock into GNU Emacs, Jostein Kjønigsen, 2018/08/20
- Re: Include modern-cpp-font-lock into GNU Emacs,
Noam Postavsky <=
- Re: Include modern-cpp-font-lock into GNU Emacs, Andy Moreton, 2018/08/20
- Re: Include modern-cpp-font-lock into GNU Emacs, Jostein Kjønigsen, 2018/08/20
- Re: Include modern-cpp-font-lock into GNU Emacs, Michael Albinus, 2018/08/20
- Re: Include modern-cpp-font-lock into GNU Emacs, Noam Postavsky, 2018/08/22