X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/f727b53504076bf752e14b8898a99968ae1db2d4..5817fe1ff1059fd505dc5e6d5171f545866bee91:/packages/yasnippet/doc/doc/snippet-organization.org diff --git a/packages/yasnippet/doc/doc/snippet-organization.org b/packages/yasnippet/doc/doc/snippet-organization.org index ee55a8efb..0f5de5219 100644 --- a/packages/yasnippet/doc/doc/snippet-organization.org +++ b/packages/yasnippet/doc/doc/snippet-organization.org @@ -48,7 +48,7 @@ '("~/Downloads/interesting-snippets"))) #+end_src - Collections appearing earlier in the list shadow snippets with same names + Collections appearing earlier in the list override snippets with same names appearing in collections later in the list. [[sym:yas-new-snippet][=yas-new-snippet=]] always stores snippets in the first collection. @@ -112,10 +112,20 @@ ** TODO -* TODO The =.yas-compiled-snippet.el= file +* The =.yas-compiled-snippet.el= file -** TODO + You may compile a top-level snippet directory with the + =yas-compile-directory= function, which will create a + =.yas-compiled-snippets.el= file under each mode subdirectory, + which contains definitions for all snippets in the subdirectory. + Compilation helps improve loading time. + + Alternatively, you may compile all directories in the list + =yas-snippet-dirs= with the =yas-recompile-all= function. + +* The =.yas-skip= file -* TODO The =.yas-skip= file + A =.yas-skip= file in a mode's snippet subdirectory tells YASnippet + not to load snippets from there. ** TODO