mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
README.mdown (per-buffer): Remove needless lambda
This commit is contained in:
parent
fdef445b7b
commit
4fd8ab166b
@ -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?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user