]> code.delx.au - gnu-emacs-elpa/commit
Document $> and fix escaping
authorNoam Postavsky <github.10.npostavs@spamgourmet.com>
Sun, 8 May 2016 19:32:20 +0000 (15:32 -0400)
committerNoam Postavsky <github.10.npostavs@spamgourmet.com>
Sun, 8 May 2016 19:32:20 +0000 (15:32 -0400)
commite9406f51266f9b9179f475886fa4ec78f1ccba44
tree50d567aa8daaeb694f51d9ad93b02db5eb084e4c
parent146b161112b68c99ecd607ec5360accc1f4db3cd
Document $> and fix escaping

* doc/snippet-development.org: New "Indentation markers" section.
* yasnippet-tests.el (indentation-markers): New test.
* yasnippet.el (yas--indent-markers): New variable.
(yas--indent): Use it instead of searching for $> directly.
(yas--indent-parse-create): New function, records occurences of $> into
`yas--indent-markers'.
(yas--snippet-parse-create): Call it.
doc/snippet-development.org
yasnippet-tests.el
yasnippet.el