From fe96a4aa752f05a434b3c2a44c779ad4b0be6e73 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 4 Mar 2019 13:37:05 -0800 Subject: [PATCH] Automatically load oni-org when org-mode loads --- oni-org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oni-org.el b/oni-org.el index a967bc3..d63d70e 100644 --- a/oni-org.el +++ b/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190222000538 +;; Version: 20190304133515 ;; Package-Requires: (org-plus-contrib org-bullets hydra) ;; This program is free software; you can redistribute it and/or modify @@ -145,5 +145,7 @@ ones that have a predecessor." ;;;###autoload (global-set-key (kbd "C-c o") 'oni-hydra-org/body) +;;;###autoload(with-eval-after-load 'org (require 'oni-org)) + (provide 'oni-org) ;;; oni-org.el ends here