Fix: Put buffers of yas-tryout-snippet in yas-minor-mode

This commit is contained in:
João Távora 2012-08-06 08:40:20 +01:00
parent fd282faaa7
commit 18714eac59

View File

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