mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +00:00
Rework yas-reload-all message introduced by #744
* yasnippet.el (yas-reload-all): Reword final message regarding snippet loading.
This commit is contained in:
parent
4fa52e6ac2
commit
80a1098493
12
yasnippet.el
12
yasnippet.el
@ -1876,9 +1876,15 @@ prefix argument."
|
||||
(yas-direct-keymaps-reload)
|
||||
|
||||
(run-hooks 'yas-after-reload-hook)
|
||||
(yas--message (if errors 2 3) "%s loading of snippets %s"
|
||||
(if no-jit "Immediate" "Just-in-time")
|
||||
(if errors "failed. Check *Messages*" "succeeded.")))))
|
||||
(if no-jit
|
||||
(yas--message (if errors 2 3) "Snippets loaded %s."
|
||||
(if errors
|
||||
"with some errors. Check *Messages*"
|
||||
"successfully"))
|
||||
(yas--message (if errors 2 3)
|
||||
"Prepared just-in-time loading of snippets %s."
|
||||
(if errors "with some errors. Check *Messages*"
|
||||
"sucessfully" ))))))
|
||||
|
||||
(defvar yas-after-reload-hook nil
|
||||
"Hooks run after `yas-reload-all'.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user