13 Commits

Author SHA1 Message Date
Noam Postavsky
7bce1a6473 Add new function yas-lookup-snippet
* yasnippet.el (yas-lookup-snippet): New function.
(yas--get-snippet-tables, yas--modes-to-activate): Add optional mode
parameter.
* yasnippet-tests.el (snippet-lookup): New test for yas-lookup-snippet.
* doc/snippet-expansion.org (Expanding from emacs-lisp code): Mention
  yas-lookup-snippet.
2015-08-03 10:36:46 -04:00
Noam Postavsky
5ebf347392 Minor doc fixes
* doc/snippet-expansion.org (Expanding from emacs-lisp code): Fix typo.
* doc/snippet-menu.org (Controlling indenting, Prompting method): Remove
  incorrect whitespace.
2015-08-03 10:29:42 -04:00
Noam Postavsky
24d7a67932 fix typo 2013-12-24 11:14:39 -05:00
Joao Tavora
582e3680b6 minor: cosmetic fixes to manual 2013-12-02 19:28:56 +00:00
Noam Postavsky
07b1d3925c move #+STARTUP to org-setup.inc; add #+LINK_HOME
also remove #+AUTHOR since it ends up refering to the generator, not the
actual author.
2013-11-26 23:09:18 -05:00
Noam Postavsky
0aebb41aca move top heading to title
and all the other headings one level up. Except for
snippet-reference.org; yas--document-symbols doesn't quite work right in
that case, fix it later.
2013-11-26 23:09:17 -05:00
Noam Postavsky
eaeb6ff7a9 more links to docstrings, don't repeat docstrings 2013-11-26 23:09:17 -05:00
Noam Postavsky
08a44b43dc add code examples for snippet-expansion.rst
pandoc org -> rst drops them
2013-11-26 23:09:17 -05:00
Noam Postavsky
8f1fa089fb replace obsolete refs
yas-trigger-key -> bind yas-expand
yas-mode-symbol -> call yas-activate-extra-mode
2013-11-26 23:09:17 -05:00
Noam Postavsky
2f7bb6c751 move images to the section they describe 2013-11-26 23:09:17 -05:00
Noam Postavsky
e46d9c7410 link to docstring ref; fix other links, formatting 2013-11-26 23:09:17 -05:00
Noam Postavsky
7b82424735 move index.org subsection into snippet-expansion.org 2013-11-26 23:09:16 -05:00
Noam Postavsky
f6cace08f3 convert old rst manuals to org mode
This is just the initial conversion with pandoc, they still need to be
fixed up. Also define new org files as a project in yas-doc-helper.el.
2013-11-26 23:09:16 -05:00