1
0
Fork 0

Properly autoload packages

This commit is contained in:
Tom Willemse 2019-01-30 01:51:03 -08:00
parent 8f57bc1bc4
commit 1d0527f6cc
4 changed files with 12 additions and 4 deletions

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190124011713 ;; Version: 20190130014447
;; Package-Requires: (oni-ui) ;; Package-Requires: (oni-ui)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -34,5 +34,7 @@
(load-theme 'yoshi :no-confirm) (load-theme 'yoshi :no-confirm)
;;;###autoload(require 'oni-gui)
(provide 'oni-gui) (provide 'oni-gui)
;;; oni-gui.el ends here ;;; oni-gui.el ends here

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190130011623 ;; Version: 20190130014834
;; Package-Requires: (company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter) ;; Package-Requires: (company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter)
;; This program is free software; you can redistribute it and/or modify ;; 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 'rainbow-delimiters-mode)
(add-hook 'python-mode-hook 'python-black-on-save-mode) (add-hook 'python-mode-hook 'python-black-on-save-mode)
;;;###autoload(with-eval-after-load 'python (require 'oni-python))
(provide 'oni-python) (provide 'oni-python)
;;; oni-python.el ends here ;;; oni-python.el ends here

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190124010524 ;; Version: 20190130014540
;; Package-Requires: (reformatter flycheck fill-column-indicator) ;; Package-Requires: (reformatter flycheck fill-column-indicator)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -40,5 +40,7 @@
(add-hook 'sh-mode-hook 'flycheck-mode) (add-hook 'sh-mode-hook 'flycheck-mode)
(add-hook 'sh-mode-hook 'shfmt-on-save-mode) (add-hook 'sh-mode-hook 'shfmt-on-save-mode)
;;;###autoload(with-eval-after-load 'sh-script (require 'oni-sh))
(provide 'oni-sh) (provide 'oni-sh)
;;; oni-sh.el ends here ;;; oni-sh.el ends here

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190126000155 ;; Version: 20190130014741
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
@ -31,5 +31,7 @@
(setq inhibit-startup-screen t) (setq inhibit-startup-screen t)
;;;###autoload(require 'oni-ui)
(provide 'oni-ui) (provide 'oni-ui)
;;; oni-ui.el ends here ;;; oni-ui.el ends here