Fix oni-groovy
Use the proper argument to ‘define-key’ for adding the ‘groovy-imports-add-import-dwim’ key binding. Fix the autoload cookie to actually reference the right library.
This commit is contained in:
parent
c10ce9cd13
commit
63ed432ebb
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190720193222
|
||||
;; Version: 20190722233651
|
||||
;; Package-Requires: (groovy-mode groovy-imports rainbow-delimiters)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -29,14 +29,14 @@
|
|||
(require 'groovy-mode)
|
||||
(require 'groovy-imports)
|
||||
|
||||
(define-key 'groovy-mode-map (kbd "M-I") 'groovy-imports-add-import-dwim)
|
||||
(define-key groovy-mode-map (kbd "M-I") 'groovy-imports-add-import-dwim)
|
||||
|
||||
(add-hook 'groovy-mode-hook 'electric-indent-local-mode)
|
||||
(add-hook 'groovy-mode-hook 'electric-pair-local-mode)
|
||||
(add-hook 'groovy-mode-hook 'groovy-imports-scan-file)
|
||||
(add-hook 'groovy-mode-hook 'rainbow-delimiters-mode)
|
||||
|
||||
;;;###autoload(with-eval-after-load 'groovy (require 'oni-groovy))
|
||||
;;;###autoload(with-eval-after-load 'groovy-mode (require 'oni-groovy))
|
||||
|
||||
(provide 'oni-groovy)
|
||||
;;; oni-groovy.el ends here
|
||||
|
|
Loading…
Reference in a new issue