mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
yas/load-directory-1: also start supressing emacs-lisp load messages when yas/verbosity is 2 or lower
This commit is contained in:
parent
b32edcca4c
commit
584d1d80bf
@ -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))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user