mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Improve final message produced by yas-reload-all
* yasnippet.el (yas-reload-all): Clarify message. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
e6b8651277
commit
4fa52e6ac2
@ -1876,9 +1876,9 @@ prefix argument."
|
|||||||
(yas-direct-keymaps-reload)
|
(yas-direct-keymaps-reload)
|
||||||
|
|
||||||
(run-hooks 'yas-after-reload-hook)
|
(run-hooks 'yas-after-reload-hook)
|
||||||
(yas--message (if errors 2 3) "Reloaded everything%s...%s."
|
(yas--message (if errors 2 3) "%s loading of snippets %s"
|
||||||
(if no-jit "" " (snippets will load just-in-time)")
|
(if no-jit "Immediate" "Just-in-time")
|
||||||
(if errors " (some errors, check *Messages*)" "")))))
|
(if errors "failed. Check *Messages*" "succeeded.")))))
|
||||||
|
|
||||||
(defvar yas-after-reload-hook nil
|
(defvar yas-after-reload-hook nil
|
||||||
"Hooks run after `yas-reload-all'.")
|
"Hooks run after `yas-reload-all'.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user