mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Closes #549: Adjust load' verbosity to
yas-verbosity'
* yasnippet.el (yas--load-yas-setup-file): Be verbose on `load' according to `yas-verbosity'
This commit is contained in:
parent
7f4f6befc0
commit
5aebe46e5c
@ -1702,10 +1702,10 @@ the current buffers contents."
|
||||
(defun yas--load-yas-setup-file (file)
|
||||
(if (not yas--creating-compiled-snippets)
|
||||
;; Normal case.
|
||||
(load file 'noerror)
|
||||
(load file 'noerror (<= yas-verbosity 2))
|
||||
(let ((elfile (concat file ".el")))
|
||||
(when (file-exists-p elfile)
|
||||
(insert ";;; .yas-setup.el support file if any:\n;;;\n")
|
||||
(insert ";;; contents of the .yas-setup.el support file:\n;;;\n")
|
||||
(insert-file-contents elfile)
|
||||
(goto-char (point-max))))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user