Reference
Table of Contents
Interactive functions
yas-load-snippet-buffer-and-close
(table
&optional kill
)
Load and save the snippet, then quit-window
if saved.
Loading is performed by yas-load-snippet-buffer
. If the
snippet is new, ask the user whether (and where) to save it. If
the snippet already has a file, just save it.
The prefix argument kill
is passed to quit-window
.
Don't use this from a Lisp program, call yas-load-snippet-buffer
and kill-buffer
instead.
Customization variables
yas-expand-only-for-last-commands
List of last-command
values to restrict tab-triggering to, or nil.
Leave this set at nil (the default) to be able to trigger an expansion simply by placing the cursor after a valid tab trigger, using whichever commands.
Optionally, set this to something like (self-insert-command) if you to wish restrict expansion to only happen when the last letter of the snippet tab trigger was typed immediately before the trigger key itself.