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

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

[nongnu] elpa/kotlin-mode 2f3d991159 060/162: Remove redundant declarati


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 2f3d991159 060/162: Remove redundant declaration of hook and keymap
Date: Sat, 29 Jan 2022 08:25:23 -0500 (EST)

branch: elpa/kotlin-mode
commit 2f3d9911595eb96bf9b470939b1c6bd58e3b16df
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Remove redundant declaration of hook and keymap
    
    `define-derived-mode` generates these declarations automatically.
---
 kotlin-mode.el | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index 0ed25cc941..7347fc7f81 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -27,18 +27,6 @@
 
 (require 'rx)
 
-(defcustom kotlin-mode-hook nil
-  "Hook run after entering `kotlin-mode'."
-  :type 'hook
-  :group 'kotlin
-  )
-
-
-(defvar kotlin-mode-map (make-sparse-keymap)
-  "Keymap used by `kotlin-mode'."
-  )
-
-
 (defvar kotlin-mode-syntax-table
   (let ((st (make-syntax-table)))
 



reply via email to

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