From 8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 1 Dec 2021 13:43:21 -0800 Subject: Remove autoloads for snippet loading Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my package configuration hasn't been loaded it shouldn't try to include my snippets. --- oni-org/oni-org.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'oni-org') diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 3f8ab71..3e40f23 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.1130.152454 +;; Version: 2021.1201.133943 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti mixed-pitch) ;; This program is free software; you can redistribute it and/or modify @@ -227,7 +227,6 @@ located at the start of the line." ("#+title: " . ""))) (prettify-symbols-mode)) -;;;###autoload (defun oni-org-snippets-initialize () "Initialize the snippets for ‘oni-org’." (when (boundp 'yas-snippet-dirs) @@ -500,7 +499,6 @@ also move point to the start of the heading." ;;;###autoload (global-set-key (kbd "C-") #'oni-org-open-index) -;;;###autoload (with-eval-after-load 'org (with-eval-after-load 'yasnippet (oni-org-snippets-initialize))) -- cgit v1.3-2-g0d8e