branch: elpa/kotlin-mode
commit e45a8f73e7a5b52d370cc22c12dbad9f29efc95a
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Declare dependency on Emacs 24.3, for setq-local
Also, `font-lock-defaults` is always buffer-local, so `setq` is sufficient
here.
---
kotlin-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 7347fc7f81..84c420dc90 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -5,6 +5,7 @@
;; Author: Shodai Yokoyama ([email protected])
;; Keywords: languages
+;; Package-Requires: ((emacs "24.3"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -222,7 +223,7 @@
(define-derived-mode kotlin-mode prog-mode "Kotlin"
"Major mode for editing Kotlin."
- (setq-local font-lock-defaults '((kotlin-mode-font-lock-keywords) nil nil))
+ (setq font-lock-defaults '((kotlin-mode-font-lock-keywords) nil nil))
(setq-local syntax-propertize-function
#'kotlin-mode--syntax-propertize-function)
:group 'kotlin