mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +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")))
|
(let ((elfile (concat file ".el")))
|
||||||
(when (file-exists-p elfile)
|
(when (file-exists-p elfile)
|
||||||
(insert ";;; .yas-setup.el support file if any:\n;;;\n")
|
(insert ";;; .yas-setup.el support file if any:\n;;;\n")
|
||||||
(insert-file-contents elfile))))
|
(insert-file-contents elfile)
|
||||||
|
(end-of-buffer)
|
||||||
|
)))
|
||||||
(yas/define-snippets
|
(yas/define-snippets
|
||||||
(mode snippets)
|
(mode snippets)
|
||||||
(insert ";;; Snippet definitions:\n;;;\n")
|
(insert ";;; Snippet definitions:\n;;;\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user