From e30b67f9ca2879565260c1c82ee231e6cd16ff6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 22 Apr 2012 16:33:02 +0100 Subject: [PATCH] enhancement: add `yas/recompile-all` --- yasnippet.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yasnippet.el b/yasnippet.el index 13579aa..a9e545e 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -1775,6 +1775,9 @@ This works by stubbing a few functions, then calling (insert (format ";;; Do not edit! File generated at %s\n" (current-time-string))))))) (yas/load-directory top-level-dir 'im-compiling-so-no-jit-ok?))) +(defun yas/recompile-all () + (mapc #'yas/compile-directory (yas/snippet-dirs))) + ;;; JIT loading ;;;