From 584d1d80bfe016a15083bdd0a874f3e174f8fc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 22 Apr 2012 17:27:00 +0100 Subject: [PATCH] yas/load-directory-1: also start supressing emacs-lisp load messages when yas/verbosity is 2 or lower --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index bc537d8..736cfa0 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -1637,7 +1637,7 @@ Below TOP-LEVEL-DIR each directory is a mode name." "Recursively load snippet templates from DIRECTORY." (unless (file-exists-p (concat directory "/" ".yas-skip")) (if (and (not no-compiled-snippets) - (load (expand-file-name ".yas-compiled-snippets" directory) 'noerror)) + (load (expand-file-name ".yas-compiled-snippets" directory) 'noerror (<= yas/verbosity 2))) (yas/message 2 "Loading much faster .yas-compiled-snippets from %s" directory) (yas/load-directory-2 directory mode-sym parents))))