mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Fix: Put buffers of yas-tryout-snippet
in yas-minor-mode
This commit is contained in:
parent
fd282faaa7
commit
18714eac59
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user