branch: elpa/kotlin-mode
commit 81b869a98ceb47798fe04ee39f7b1c71d0faab6b
Author: Gregg Hernandez <[email protected]>
Commit: Gregg Hernandez <[email protected]>
consistent naming
---
kotlin-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 44784cf845..82c237457e 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -109,7 +109,7 @@
(defconst kotlin-mode--initializer-keywords
'("init" "constructor"))
-(defvar kotlin-mode-font-lock-keywords
+(defvar kotlin-mode--font-lock-keywords
`(;; Keywords
(,(rx-to-string
`(and bow (group (or ,@kotlin-mode--keywords)) eow)
@@ -280,7 +280,7 @@
(define-derived-mode kotlin-mode prog-mode "Kotlin"
"Major mode for editing Kotlin."
- (setq 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)
(set (make-local-variable 'comment-start) "//")
(set (make-local-variable 'comment-padding) 1)