diff --git a/yasnippet.el b/yasnippet.el index 6f99ce5..603ac02 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -2609,6 +2609,7 @@ With optional prefix argument KILL quit the window and buffer." (switch-to-buffer (get-buffer-create buffer-name)) (setq buffer-undo-list nil) (condition-case nil (funcall test-mode) (error nil)) + (yas-minor-mode 1) (setq buffer-read-only nil) (yas-expand-snippet (yas--template-content yas--current-template) (point-min)