mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
bugfix: need to to go to end of buffer after inserting .yas-setup.el
This commit is contained in:
parent
3eff698e68
commit
023f1ebad4
@ -1736,7 +1736,9 @@ This works by stubbing a few functions, then calling
|
||||
(let ((elfile (concat file ".el")))
|
||||
(when (file-exists-p elfile)
|
||||
(insert ";;; .yas-setup.el support file if any:\n;;;\n")
|
||||
(insert-file-contents elfile))))
|
||||
(insert-file-contents elfile)
|
||||
(end-of-buffer)
|
||||
)))
|
||||
(yas/define-snippets
|
||||
(mode snippets)
|
||||
(insert ";;; Snippet definitions:\n;;;\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user