Reword #744 yet again

* yasnippet.el (yas-reload-all): Simplify message form.
This commit is contained in:
João Távora 2016-11-10 20:26:02 +00:00
parent 80a1098493
commit 8412d71e44

View File

@ -1876,15 +1876,12 @@ prefix argument."
(yas-direct-keymaps-reload)
(run-hooks 'yas-after-reload-hook)
(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" ))))))
(yas--message (if errors 2 3)
(if no-jit "Snippets loaded %s."
"Prepared just-in-time loading of snippets %s.")
(if errors
"with some errors. Check *Messages*"
"successfully")))))
(defvar yas-after-reload-hook nil
"Hooks run after `yas-reload-all'.")