mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 06:32:24 +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:
@@ -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))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user