mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Fix "arrayp, nil" bug in yas-load-snippet-buffer.
This commit is contained in:
parent
9503c332f5
commit
7130d9c365
@ -2598,11 +2598,10 @@ whether (and where) to save the snippet, then quit the window."
|
||||
default-file-name)))
|
||||
(setf (yas--template-file yas--editing-template) buffer-file-name)))))
|
||||
(when interactive
|
||||
(quit-window interactive)
|
||||
(yas--message 3 "Snippet \"%s\" loaded for %s."
|
||||
(yas--template-name yas--editing-template)
|
||||
(yas--table-name (yas--template-table yas--editing-template)))))
|
||||
|
||||
(yas--table-name (yas--template-table yas--editing-template)))
|
||||
(quit-window interactive)))
|
||||
|
||||
(defun yas-tryout-snippet (&optional debug)
|
||||
"Test current buffers's snippet template in other buffer."
|
||||
|
Loading…
x
Reference in New Issue
Block a user