From e50eafed9987667c8db016badac45d152c8f3614 Mon Sep 17 00:00:00 2001 From: Joao Tavora Date: Thu, 13 Oct 2011 14:43:17 +0100 Subject: [PATCH] Moved autoload from `yas/snippet-dirs` to `yas/global-mode`. --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 3ac3b93..9b2e6a1 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -164,7 +164,6 @@ "Yet Another Snippet extension" :group 'editing) -;;;###autoload (defcustom yas/snippet-dirs (list "~/.emacs.d/snippets" (concat (file-name-directory load-file-name) "snippets")) "Directory or list of snippet dirs for each major mode. @@ -852,6 +851,7 @@ Do this unless `yas/dont-activate' is truish " (interactive) (yas/minor-mode -1)) +;;;###autoload (define-globalized-minor-mode yas/global-mode yas/minor-mode yas/minor-mode-on :group 'yasnippet :require 'yasnippet)