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

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

[nongnu] elpa/kotlin-mode 2c9598c4e6 005/162: kotlin-mode: Define a hook


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 2c9598c4e6 005/162: kotlin-mode: Define a hook after entering kotlin-mode
Date: Sat, 29 Jan 2022 08:25:17 -0500 (EST)

branch: elpa/kotlin-mode
commit 2c9598c4e676de98458b4a971b448acf81472019
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>

    kotlin-mode: Define a hook after entering kotlin-mode
---
 kotlin-mode.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index bfb0b5a3bf..4e65e1cbc2 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -25,7 +25,11 @@
 
 ;;; Code:
 
-
+(defcustom kotlin-mode-hook nil
+  "Hook run after entering `kotlin-mode'."
+  :type 'hook
+  :group 'kotlin
+  )
 
 (define-derived-mode kotlin-mode prog-mode "Kotlin"
   "Major mode for editing Kotlin."



reply via email to

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