emacs-major-version

emacs-major-version is a variable defined in `version.el'.
Its value is
25

  • This variable may be risky if used as a file-local variable.

Documentation:
Major version number of this version of Emacs.
This variable first existed in version 19.23.