1
0
Fork 0

Fix loading of oni-yasnippet

By delaying the function call to `yas-global-mode' until Emacs has
finished starting up, it won't try to load the diminish package before
its autoloads file has been read.
This commit is contained in:
Tom Willemse 2019-02-27 22:46:23 -08:00
parent 782ac09408
commit 3905db08ab

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190226231908 ;; Version: 20190227224145
;; Package-Require: (yasnippet yasnippet-snippets diminish) ;; Package-Require: (yasnippet yasnippet-snippets diminish)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -37,7 +37,7 @@
;;;###autoload(with-eval-after-load 'yasnippet (require 'oni-yasnippet)) ;;;###autoload(with-eval-after-load 'yasnippet (require 'oni-yasnippet))
;;;###autoload ;;;###autoload
(yas-global-mode) (add-hook 'emacs-startup-hook 'yas-global-mode)
(provide 'oni-yasnippet) (provide 'oni-yasnippet)
;;; oni-yasnippet.el ends here ;;; oni-yasnippet.el ends here