Add missing version check to support Emacs 27

This commit is contained in:
Nathan Lovato
2020-02-05 08:45:57 -06:00
parent c4a5976ebb
commit 086445a6be

View File

@@ -41,7 +41,8 @@
;; HACK To make this work in emacs-26 and below
;; This is the definition ripped straight from emacs-27
(require 'gdscript-rx)
(if (version< emacs-version "27")
(require 'gdscript-rx))
(defvar gdscript-mode-map (let ((map (make-sparse-keymap)))
;; Movement