emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 80a1098 02/63: Rework yas-reload-all message introduced by


From: Noam Postavsky
Subject: [elpa] master 80a1098 02/63: Rework yas-reload-all message introduced by #744
Date: Mon, 17 Jul 2017 22:54:09 -0400 (EDT)

branch: master
commit 80a1098493c88e0c61345c1657ba0f01c44c5422
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Rework yas-reload-all message introduced by #744
    
    * yasnippet.el (yas-reload-all): Reword final message regarding
    snippet loading.
---
 yasnippet.el | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/yasnippet.el b/yasnippet.el
index ec228fc..f627559 100644
--- a/yasnippet.el
+++ b/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'.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]