README.mdown (per-buffer): Remove needless lambda

This commit is contained in:
Noam Postavsky 2015-04-05 17:59:18 -04:00
parent fdef445b7b
commit 4fd8ab166b

View File

@ -49,9 +49,7 @@ To use YASnippet as a non-global minor mode, replace `(yas-global-mode 1)` with
`(yas-reload-all)` to load the snippet tables. Then add a call to `(yas-reload-all)` to load the snippet tables. Then add a call to
`(yas-minor-mode)` to the major-modes where you to enable YASnippet. `(yas-minor-mode)` to the major-modes where you to enable YASnippet.
(add-hook 'prog-mode-hook (add-hook 'prog-mode-hook #'yas-minor-mode)
'(lambda ()
(yas-minor-mode)))
# Where are the snippets? # Where are the snippets?