diff options
author | 2021-12-01 13:43:21 -0800 | |
---|---|---|
committer | 2021-12-01 13:43:21 -0800 | |
commit | 8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6 (patch) | |
tree | fac47da6c4145a4cddc9089ef29fae0cf168f510 /oni-html/oni-html.el | |
parent | e1aecd6f63bf518564cbc6ff9e365c2958dd5cbe (diff) | |
download | emacs-config-8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6.tar.gz emacs-config-8af6f8d1604272a4e2d13a2981f02b6dd6e84bd6.zip |
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.
Diffstat (limited to 'oni-html/oni-html.el')
-rw-r--r-- | oni-html/oni-html.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/oni-html/oni-html.el b/oni-html/oni-html.el index 77e1dd7..68318ae 100644 --- a/oni-html/oni-html.el +++ b/oni-html/oni-html.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1123.003501 +;; Version: 2021.1201.134113 ;; Package-Requires: (oni-yasnippet) ;; This program is free software; you can redistribute it and/or modify @@ -38,7 +38,6 @@ (expand-file-name "snippets" oni-html-root) "The directory where ‘oni-html’ stores its snippets.") -;;;###autoload (defun oni-html-snippets-initialize () "Initialize the snippets for ‘oni-html’." (when (boundp 'yas-snippet-dirs) @@ -53,7 +52,6 @@ (add-hook 'html-mode-hook 'electric-pair-local-mode) (add-hook 'html-mode-hook 'oni-html--auto-fill-mode) -;;;###autoload (with-eval-after-load 'sgml-mode (with-eval-after-load 'yasnippet (oni-html-snippets-initialize))) |