See https://github.com/pezra/rspec-mode/pull/75 for the discussion leading up to
this change.
+2014-01-06 João Távora <joaotavora@gmail.com>
+
+ * yasnippet.el (yas-reload-all): run `yas-after-reload-hook'.
+ (yas-after-reload-hook): add it.
+
2013-12-31 João Távora <joaotavora@gmail.com>
* yasnippet.el (require): require cl-lib during byte-compilation
* README.mdown: Add Travis CI badge.
* .travis.yml: new file
+
+
+;; Local Variables:
+;; coding: utf-8
+;; End:
;;
(yas-direct-keymaps-reload)
+ (run-hooks 'yas-after-reload-hook)
(yas--message 3 "Reloaded everything%s...%s."
(if interactive "" " (snippets will load just-in-time)")
(if errors " (some errors, check *Messages*)" "")))))
+(defvar yas-after-reload-hook nil
+ "Hooks run after `yas-reload-all'.")
+
(defun yas--load-pending-jits ()
(dolist (mode (yas--modes-to-activate))
(let ((funs (reverse (gethash mode yas--scheduled-jit-loads))))