emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/kotlin-mode 81b869a98c 075/162: consistent naming


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 81b869a98c 075/162: consistent naming
Date: Sat, 29 Jan 2022 08:25:24 -0500 (EST)

branch: elpa/kotlin-mode
commit 81b869a98ceb47798fe04ee39f7b1c71d0faab6b
Author: Gregg Hernandez <gregg@lucidchart.com>
Commit: Gregg Hernandez <gregg@lucidchart.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]