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-elisp/oni-elisp.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'oni-elisp/oni-elisp.el') diff --git a/oni-elisp/oni-elisp.el b/oni-elisp/oni-elisp.el index 4e3dca9..d39b0c3 100644 --- a/oni-elisp/oni-elisp.el +++ b/oni-elisp/oni-elisp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.1123.003353 +;; Version: 2021.1201.134052 ;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-yasnippet oni-hydra rainbow-delimiters nameless erefactor flycheck-relint handle elisp-format) ;; This program is free software; you can redistribute it and/or modify @@ -58,7 +58,6 @@ symbol-end) 1 font-lock-constant-face))) -;;;###autoload (defun oni-elisp-snippets-initialize () "Initialize the snippets for ‘oni-elisp’." (when (boundp 'yas-snippet-dirs) @@ -121,7 +120,6 @@ _eb_: Buffer (slot . 0) (window-height . 0.33))) -;;;###autoload (with-eval-after-load 'elisp-mode (with-eval-after-load 'yasnippet (oni-elisp-snippets-initialize))) -- cgit v1.2.3-54-g00ecf