capitaomorte/yasnippet — Issue #199: Call  yas//after-snippet-exit-hook after expanding a nsippet with no fields
Author: tomprince
Created: 2011-11-28 16:05:09+00:00
State: open

(or some other hook)
My use case is the following snippet. org-edit-special opens the SRC block in an a separate buffer in latex-mode for editing.

# name: diagram
# expand-env ((yas/after-exit-snippet-hook . '(org-edit-special)))
# --
#+BEGIN_SRC latex
\begin{diagram}
$0
\end{diagram}
#+END_SRC