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

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

[elpa] master 8412d71 03/63: Reword #744 yet again


From: Noam Postavsky
Subject: [elpa] master 8412d71 03/63: Reword #744 yet again
Date: Mon, 17 Jul 2017 22:54:10 -0400 (EDT)

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

    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'.")



reply via email to

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