From 1d0527f6ccd339b28073fcf2c84a79280bc8eee3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 30 Jan 2019 01:51:03 -0800 Subject: Properly autoload packages --- oni-python.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'oni-python.el') diff --git a/oni-python.el b/oni-python.el index 111772d..4748b42 100644 --- a/oni-python.el +++ b/oni-python.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190130011623 +;; Version: 20190130014834 ;; Package-Requires: (company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter) ;; This program is free software; you can redistribute it and/or modify @@ -55,5 +55,7 @@ (add-hook 'python-mode-hook 'rainbow-delimiters-mode) (add-hook 'python-mode-hook 'python-black-on-save-mode) +;;;###autoload(with-eval-after-load 'python (require 'oni-python)) + (provide 'oni-python) ;;; oni-python.el ends here -- cgit v1.2.3-54-g00ecf