diff --git a/matlab.el b/matlab.el index 8ca0ee24a2..b82229a672 100644 --- a/matlab.el +++ b/matlab.el @@ -5,11 +5,7 @@ ;; Maintainer: Eric M. Ludlam ;; Created: 04 Jan 91 ;; Keywords: MATLAB(R) -;; Version: - -(defconst matlab-mode-version "5.0" - "Current version of MATLAB(R) mode.") - +;; Version: 5.0 ;; ;; Copyright (C) 1997-2022 Eric M. Ludlam ;; Copyright (C) 1991-1997 Matthew R. Wette @@ -50,6 +46,10 @@ ;;; Code: +(defconst matlab-mode-version (package-get-version) + "Current version of MATLAB(R) mode.") + + (require 'matlab-compat) (require 'matlab-syntax) (require 'matlab-scan)