branch: master commit 8412d71e44576c6e9f182109219a8a71cf9d4311 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Reword #744 yet again * yasnippet.el (yas-reload-all): Simplify message form. --- yasnippet.el | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index f627559..c308c9b 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -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'.")