update snippets submodule
yasnippet templates don't add newlines
Merge pull request #464 from kidd/master

yasnippet templates don't add newlines
avoid double choices reversing

Both yas-choose-value the yas-prompt-functions were reversing
values (cancelling each other out), instead just keep the choices in
order the whole time.
Remove experimental Changelog file

The Changelog format is good but having a file for it is not. The same
format can be had in messages by having using vc-dir and C-x 4 a. A
temporary dummy changelog appears and that content goes to the git log
message, which is just as good in content and much better in form.
Remove an obsolete hack notice

* yasnippet.el (yas-x-prompt): Remove hack notice.
display-fn isn't actually used for filtering
yas-x-prompt: remove dead code
remove yas--x-pretty-prompt-templates
Merge pull request #466 from npostavs/no-reverse

Avoid double choices reversing
Closes #469: Don't use `yas--init-minor-keymap'

* yasnippet.el (yas-use-menu): Don't allow `nil' value, it's
useless.
(yas--minor-mode-menu): Use top-level `easy-menu-define' form.
(yas--init-minor-keymap): Remove definition.
Revert "Closes #469: Don't use `yas--init-minor-keymap'"

This reverts commit 498cbe4138d74f39f7447acc9de456291c639724.
Properly closes #469: Don't use `yas--init-minor-keymap'

Previous reverted commit 498cbe4 forgot to take into account that one
of the tests used the `yas--init-minor-keymap' function that was
removed.

* yasnippet.el (yas-use-menu): Don't allow `nil' value, it's
useless.
(yas--minor-mode-menu): Use top-level `easy-menu-define' form.
(yas--init-minor-keymap): Remove definition.

* yasnippet-tests.el (test-rebindings): Don't use
`yas--init-minor-keymap'. Restore bindings explicitly. Not ideal,
but should work.
Closes #403: more uniform behaviour for `yas-use-menu'

Suggested by Noam Postavsky, this uses the :visible arg to
`easy-menu-define' to hide the whole "YASnippet" menu according to the
run-time value of `yas-use-menu'. Previously, only the load-time value
was considered and some functions we're noops when `yas-use-menu' was
nil.

The per-mode snippet submenus are now always updated even if
`yas-use-menu' is nil, although they won't be shown until it becomes
non-nil.

* yasnippet.el (yas--minor-mode-menu): Use :visible arg and eval `yas-use-menu'
(yas--update-template): Always update the menu.
(yas--show-menu-p): Always return t if `yas-use-menu' is non-nil and not `abbreviate'
(yas-define-menu): Always define a menu.
(yas-use-menu): Update docstring.
update doc for org 8.x

Keeping compabitily with 7.9 for now
Merge pull request #473 from npostavs/org8

update doc for org 8.x
Simpler, more effective .travis file

* .travis.yml (env): New section.
(install): Simpler install recipes.
(script): Just rake compile and rake tests.
New test for cc-mode's fontification functions

This issue requires font locking to trigger. This can be be done by
let-binding noninteractive to nil and using a buffer name that doesn't
start with a space, instead of the external emacs hack which is now
redundant.

* yasnippet-tests.el (yas--with-font-locked-temp-buffer): new macro
similar to with-temp-buffer but enables font-lock-mode even in -batch
mode.
(example-for-issue-474): new test
(example-for-issue-404, example-for-issue-404-c-mode): use new macro
(example-for-issue-404-external-emacs): removed
Closes #474: fix cc-mode fontification conflict

* yasnippet.el (yas--save-backquotes): don't change buffer while
narrowed.
Merge pull request #476 from npostavs/cc-fontify2

Avoid changing buffer while narrowed