Yasnippet by default prompts the user to enter a table, file path to save the snippet, and if they want to save the buffer.
I found myself almost always applying the defaults, so I wrote a function that saves the snippet, loads it, and quits without any confirmation.
Testing
M-x yas-new-snippet
Fill in a snippet
M-x yas-load-snippet-buffer-and-close-noconfirm
write out the key for the snippet you created and press <tab>
Yasnippet by default prompts the user to enter a table, file path to save the snippet, and if they want to save the buffer. I found myself almost always applying the defaults, so I wrote a function that saves the snippet, loads it, and quits without any confirmation.
Testing
M-x
yas-new-snippet
Fill in a snippet M-xyas-load-snippet-buffer-and-close-noconfirm
write out the key for the snippet you created and press<tab>